469,602 Members | 1,845 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Service starts on WinXP but not Win2K

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
Nov 16 '05 #1
1 1429
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

"Dave" <sp******@tpsd.com> wrote in message
news:a8************************@posting.google.com ...
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

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sam Johnson | last post: by
3 posts views Thread by Matthew P. Seltzer | last post: by
3 posts views Thread by Brad Jones | last post: by
3 posts views Thread by invinfo | last post: by
1 post views Thread by Dave | last post: by
reply views Thread by Alexander Stojakovic | last post: by
5 posts views Thread by Andrew | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.