![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi - I wonder if anyone has found the kind of differences in behaviour that I have found when using dbsvc under MS XP SP2 (and SP3) and MS Server 2003 R2. The following script starts a MS service to start a database going automatically: (Very useful if the server has been shut down and the DB must auto restart). "C:\Program Files\map database\dbsvc.exe" -as -s auto -t network -i -w mapserver "C:\Program Files\map database\dbsrv9.exe" -n map-server -x tcpip -c 8m "C:\Program Files\map database\map.db" "C:\Program Files\map database\dbsvc.exe" -u mapserver This script works just fine under XP. If the script is in a bat file, and the bat file is run, the MS service starts, and the SQL icon appears in the icon tray (in the right hand foot of the screen). If the same batfile script is run under MS Server 2003 R2, the script seems to launch the MS service under the name 'Adaptive Server Anywhere - Mapserver', but no icon appears in the icon tray i.e. the db server has not been started. Any ideas why I get this anomalous behaviour? Alastair Walker |
#3
| |||
| |||
|
|
What version of SQL Anywhere does this occur? Are you sure that the service is not starting? Or is it simply not displaying the icon in the systray? Please check the event viewer system and application logs on or about the time you start the service for additional information. -chris Alastair Walker wrote: Hi - I wonder if anyone has found the kind of differences in behaviour that I have found when using dbsvc under MS XP SP2 (and SP3) and MS Server 2003 R2. The following script starts a MS service to start a database going automatically: (Very useful if the server has been shut down and the DB must auto restart). "C:\Program Files\map database\dbsvc.exe" -as -s auto -t network -i -w mapserver "C:\Program Files\map database\dbsrv9.exe" -n map-server -x tcpip -c 8m "C:\Program Files\map database\map.db" "C:\Program Files\map database\dbsvc.exe" -u mapserver This script works just fine under XP. If the script is in a bat file, and the bat file is run, the MS service starts, and the SQL icon appears in the icon tray (in the right hand foot of the screen). If the same batfile script is run under MS Server 2003 R2, the script seems to launch the MS service under the name 'Adaptive Server Anywhere - Mapserver', but no icon appears in the icon tray i.e. the db server has not been started. Any ideas why I get this anomalous behaviour? Alastair Walker |
![]() |
| Thread Tools | |
| Display Modes | |
| |