Service created using perlsvc installs ok and the service starts using -install auto. But the PerlSvc::Startup is not called

Posted by thloeber on 2017-04-24 06:35
Forums: PDK Support | OS: Windows

I'm using PDK 9.5 and I have create a service using PerlSvc. The service runs OK interactively but when I execute the exe with -install auto, the service installs and successfully starts, but the PerlSvc::Startup function I have defined is never called. How can I trouble shoot this and why wouldn't that function be called?

ActiveState Staff
Mon, 2017-04-24 07:35

You need to run it in admin mode. To do this, you would need to open the command line in admin mode. PerlSVC is trying to call services that are only accessible to an admin user.