Link to home
Start Free TrialLog in
Avatar of wbokhary
wbokhary

asked on

Service won't start

We have a created a service for one of our programs.
The service starts from the command line if we pass the config file:
c:\servicename.exe -c name.ini file
However when we create the service and point to the executable it gives an error saying:
Error 1:Incorrect function
I have tried to use the "Start parameters:" filed to specify the ini file but no help
Any ideas??
Avatar of Murali
Murali
Flag of India image

It depends on the executable file you are specifiying to create a service... the parameter which you are specifiying may be not available or not associated with executable... You can check the switches or parameter associated with executable.. to list type in command prompt executable name and /?...
ASKER CERTIFIED SOLUTION
Avatar of wbokhary
wbokhary

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wbokhary
wbokhary

ASKER

No clear answer was given