Are there any restrictions or incompatibilities to watch for? (using 16.0.0.2419 on Windows 7)

The Help says "-i Displays an icon that you can double-click to display the database server messages window." but no such icon or window appears when the following service is started (otherwise, everything is OK).

"%SQLANY16%\Bin64\dbsvc.exe"^
  -as^
  -i^
  -o "C:\HADEMO\partner1\dbsvc_partner1_demo_log.txt"^
  -s Automatic^
  -sd "SQL Anywhere 16 Partner1 Demo Database Server"^
  -sn partner1_demo_service^
  -t Network^
  -y^
  -w partner1_demo_service^
  "%SQLANY16%\bin64\dbsrv16.exe"^
  -n partner1_demo^
  -o "C:\HADEMO\partner1\dbsrv16_partner1_demo_log.txt"^
  -oe "C:\HADEMO\partner1\dbsrv16_partner1_demo_startup_log.txt"^
  -su sql^
  -x tcpip(port=55501;dobroadcast=no)^
  -zp^
  -zl^
  -zt^
  "C:\HADEMO\partner1\demo.db"^
  -xp on

"%SQLANY16%\Bin64\dbsvc.exe" -u partner1_demo_service 

Update: This exhortation from Microsoft seems to say I'm doomed to failure:
Services cannot directly interact with a user as of Windows Vista. Therefore, the techniques mentioned in the section titled Using an Interactive Service should not be used in new code.

asked 26 Mar '17, 10:25

Breck%20Carter's gravatar image

Breck Carter
32.5k5407241050
accept rate: 20%

edited 26 Mar '17, 11:03


Well, as v16 still supports Windows XP, option -i should work there as expected...

V17 does not support Windows XP and Vista, and the docs tell that for option -i:

Note
As of Windows Vista, this is no longer available.

Just saying:)

permanent link

answered 27 Mar '17, 04:18

Volker%20Barth's gravatar image

Volker Barth
39.7k357545815
accept rate: 34%

converted 27 Mar '17, 04:19

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×12

question asked: 26 Mar '17, 10:25

question was seen: 1,604 times

last updated: 27 Mar '17, 04:19