#1 2014-12-03 18:37:38

restneophyte
Member
Registered: 2014-11-18
Posts: 26

Cannot run '10 - Background Http service' as a Service

Using Delphi XE7 Update 1 and the latest 'unstable' version of 'mORMot', I have compiled project 'httpservice.'

When I run the 'httpservice' executable with the '-c' parameter, everything works as expected.

When I try to install the service (via a call, in administrator mode, to the command line  'httpservice /install'), I do not get the usual 'Service installed' confirmation message. In addition, the service does not show up in the list of installed services.

Am I missing something important?

Offline

#2 2014-12-06 11:42:15

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,713
Website

Re: Cannot run '10 - Background Http service' as a Service

Are you using the latest version of the source code?

For installing, you should use HttpServiceSetup.exe, not HttpService.exe.

Offline

#3 2014-12-10 23:57:55

restneophyte
Member
Registered: 2014-11-18
Posts: 26

Re: Cannot run '10 - Background Http service' as a Service

Yes, I was/am using the latest source code (1.18.628).

Per your suggestions, I used 'HttpServiceSetup /install' instead of 'HttpService /install' and I was able to successfully install the service.

Offline

Board footer

Powered by FluxBB