Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Service won't start
Message
De
11/10/2007 12:11:02
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Windows
Catégorie:
Informatique en général
Titre:
Service won't start
Divers
Thread ID:
01260323
Message ID:
01260323
Vues:
78
This is the REG file:
REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMPS]
"ImagePath"="C:\\FMSRun\\EMPS.exe"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMPS\Parameters]
"AppDirectory"="C:\\FMSRun"
"Application"="C:\\FMSRun\\EMPS.exe"
"AppParameters_HostName"="localhost"
"AppParameters_Port"="1544"
"AppParameters_BackupDirectory"="C:\\HL7_IN\\"
"AppParameters_Switch"=".T."
This is the test batch file:
sc.exe delete "EMPS"
REGEDIT.EXE /S EMPS.REG
sc.exe create "EMPS" binPath= "c:\FMSRun\EMPS.exe"
sc.exe start "EMPS"
It does everything except I get an error on the last line of the batch:
The service did not respond to the start of cotrol requiest in a timely fashion.
The EMPS.exe will run fine if I run it manually, but will not start as a service.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform