Problems starting a WindowsService on win2k Server.
-
Hello I have a Windows Service developed in C#. On startup it gets a Instance of a simple Gatewayobject. And make it available on the TCP port 13101. On a WinXP Professional maschine there are no problems starting it but on win2k it only starts in 2 out of 10 times. I have a WindowsForm app that do the same thing as the WindowsService and there are never a problem with that app on win2k or winXP. What can be the problem?:confused:
-
Hello I have a Windows Service developed in C#. On startup it gets a Instance of a simple Gatewayobject. And make it available on the TCP port 13101. On a WinXP Professional maschine there are no problems starting it but on win2k it only starts in 2 out of 10 times. I have a WindowsForm app that do the same thing as the WindowsService and there are never a problem with that app on win2k or winXP. What can be the problem?:confused:
Do you get any exceptions? Also try setting
AutoLog
totrue
and check the event logs for any errors that might have occured. Without knowing what theGatewayobject
is and what it attempts to do, I can't really offer you anything more than that.Microsoft MVP, Visual C# My Articles