Service starts on WinXP but not Win2K

D

Dave

I wrote a C# windows service and it will install on Win2K but won't
start. I have code in it to write to the event log but it doesn't log
anything.

I developed it on WinXP with VS and it installs and runs fine on that
WinXP system. The service is a C# remoting listener if that makes any
difference.

Does it have to be built on a Win2K box to work correctly? I don't
have VS installed anywhere but that WinXP so I can't readily test
this.

Dave Lewis
 
E

Erik Tamminga

Hi,

Check the services' account (ProcessInstaller.Account). If it's set to
"NetworkService" it won't be able to start because Win2K doesn't have such
an account. I came across the same kind of problem and this "solved" it.

Erik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top