Hi there, I need to get a windows Service developed in .net 1.1 to work on a Windows Server 2008 R2 environment. The service runs perfectly, but the issue is passing the arguments. The service is run from a procedure using
The issue am facing is, the arguments are not captured in the Service onstart event. This used work fine all these days in Windows server 2003 but now the arguments are not captured when run in Windows Server 2008.
Additionally, if the service is developed in .net 2.0 it works fine on Windows server 2008. the issue is only with reading the arguments passed using net start command. All other functionalities work fine.
Any inputs will be greatly helpful.
Code:
net Start servicename arg1 arg2
Additionally, if the service is developed in .net 2.0 it works fine on Windows server 2008. the issue is only with reading the arguments passed using net start command. All other functionalities work fine.
Any inputs will be greatly helpful.
Comment