Wilton Ergon Posted January 13, 2021 Share Posted January 13, 2021 I have a project that needs to be started as a service on different doors, each will have its separate installation folder. and the same project that needs to be started 2 times. tried to set in create uniservicemodule the name property procedure TUniServiceModule.UniGUIServiceCreate(Sender: TObject); var s:string; begin s :=LerNoIni2('CONFIG','NOME DO SERVICO'); displayname:='TaskReport Service'+s; NAME :='UniServiceModule'+s; end; The service is installed but does not start. only starts when the service name is not changed that is When s: = LerNoIni2 ('CONFIG', 'SERVICE NAME'); it's empty Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted January 15, 2021 Author Share Posted January 15, 2021 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 15, 2021 Share Posted January 15, 2021 On 1/13/2021 at 10:27 PM, wilton_rad said: The service is installed but does not start. Hello, How are you trying to start the service? Quote Link to comment Share on other sites More sharing options...
alfr Posted January 15, 2021 Share Posted January 15, 2021 ...and you are assigning different ports on them? Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted January 18, 2021 Author Share Posted January 18, 2021 I have 2 folders with the project, in the create of the servicemodule, I capture an ini key to allow changing the name of the service. I can install the 2 services via command prompt as an administrator by typing taskreportserver_s / install when I go to the list of windows services, and I try to start, it does not start .. starts only when the name property is not changed Quote Link to comment Share on other sites More sharing options...
alfr Posted January 18, 2021 Share Posted January 18, 2021 Are you sure you don't get any error when starting them? What does the log files say? Nothing? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.