VB.Net Service not starting on Windows 2003

G

Guest

Searched the forum for an answer to this particular question and did not find
an answer to i am posting.

I have created a Windows Service in VB.Net. I can successfully install and
start the service on a Windows 2000 Server box but cannot on a windows 2003
box. The error I receive is the following:

Server 'ServiceName' failed to start. Verify that you have sufficient
privileges to start system Services.

I am logged into the Windows 2003 box as Administrator so I would think that
I have sufficent rights.

I have set the Account property of the ServiceProcessInstaller of the
service to use the LocalSystem account as the account in which to start and
run the service.

I have also tried using InstallUtil executable and that has failed also.

Can someone please point me in the right direction?
 
G

Guest

Jan. 17, 2005

Just a guess, but you might have a policy somewhere that forbids
services from running as LocalSystem. Just an FYI: Running a service as
LocalSystem is a Very Dangerous thing to do. If an attacker was to compromise
the service, then the attacker could do Anything to the system. I am
preparing for a Microsoft Certified Professional exam on security and they
never recommend this. It would be more secure running it under an
Adminstrator's account (although it would still be better and more commonly
recommended to run it under a limited account). Just my opinion, but you
might try running it under a different account. I hope this helps!


Joseph MCAD
 

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