473,479 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1592
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1326
by: Sam Johnson | last post by:
Hi I developed a VB .net service under winxp and everything (running, installation, etc.) works fine. Now, I wanted to install it under win2k (with admin rights), but the installation fails...
3
2080
by: Matthew P. Seltzer | last post by:
All- This is a bit 'out there,' but, here goes. I have copied the WinSxS folder from a WinXP box to my Win2K box. I would like to be able to apply XP control styles to my Win2K VB.NET apps. Given...
3
2186
by: Brad Jones | last post by:
Hello, I'm hoping someone can give me some help or guidance here. I'm not sure if this is even the best group to post to for this. Our OEM equipment's software architecture relies heavily on a...
3
1586
by: invinfo | last post by:
After having MySQL 3.23 installed, I upgraded to 5.0, but having problems with the service. I did not do a full uninstall and its not clear, if I should have or not. However as many Windows...
6
2820
by: Frank Meng | last post by:
Hi. Can system service identify current active user with .net? I need current active user's logon name from system service. I tried WindowsIdentity.GetCurrent().Name and it gave me "NT...
1
314
by: Dave | last post by:
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...
0
1062
by: Alexander Stojakovic | last post by:
Werte Kollegen! I have a ASP.NET page authenticating via Integrated Security. For some reason the behaviour on the client is differing depending on the OS. I have some clients using WinXP and...
5
2860
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
1
1490
by: ERobishaw | last post by:
A windows service I've created runs on all boxes except Windows 2000 server. The windows service initializes (i.e., the Service:ServieBase class gets constructed), but the OnStart() method...
0
6899
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7019
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5312
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4463
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
166
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.