NetTalk Central

Author Topic: Cannot load as a Service -wrong path to executable  (Read 1443 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 405
    • View Profile
    • Email
Cannot load as a Service -wrong path to executable
« on: December 29, 2024, 02:12:37 PM »
I have the wrong "Path to executable" displaying in Services  App Name Properties local computer on an Amazon Server when trying to run the app as a service
When starting the Service manually    "Windows could not start the <app name> service on local computer"
error Code 2 displays "the system cannot find the path specified"

The path is wrong - How do I correct the path please?
I have deleted the INI file and recompiled on the Server but path does not reset.
The app folder  as C:\ on the Server is  correct but showing in the path as D:

Thanks
Richard
NT 14.28
Self Service 3.62
« Last Edit: December 29, 2024, 03:13:42 PM by Richard I »

Jane

  • Sr. Member
  • ****
  • Posts: 381
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Cannot load as a Service -wrong path to executable
« Reply #1 on: December 29, 2024, 03:26:04 PM »
It has nothing to do with recompiling.  When you ran the app with /IS the service information was created in the Registry.

If the wrong path is displaying on the Properties page in the services.msc app, easiest is to uninstall the service and reinstall it in the correct folder.

Or you could edit it in the Registry.




Richard I

  • Sr. Member
  • ****
  • Posts: 405
    • View Profile
    • Email
Re: Cannot load as a Service -wrong path to executable
« Reply #2 on: December 29, 2024, 05:36:46 PM »
thanks Jane
Cheers
Richard