Service only start when certain account is used

Get help on programming - C++, Java, Delphi, etc.
Post Reply
viceroy
Registered User
Posts: 3565
Joined: 27 Mar 2006, 02:00
Location: I forget

Service only start when certain account is used

Post by viceroy »

I've written a service which works perfectly, but only when running with my domain account which has no special attributes other than local admin rights

We've created another account which is supposed to be used to run the service and it has the same rights as my account, and I've also specifically given it local admin rights on the server its running on, yet I get the following error
Could not start the SMS_Service on Local Computer.

Error 1053: The service did not respond to the start or control request in a timely fashion.
Problem is that the error pops up as soon as the service is started so its definately not a timeout.

MS have two related articles describing hotfixes and I've tried both without success

http://support.microsoft.com/kb/839174
http://support.microsoft.com/kb/886695

Can anyone help me with this as I need to get it sorted out ASAP

ps. the service was written using VB.net
Image
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Post by Anthro »

Does it interface with any databases by any chance ?
Temporary Absence
viceroy
Registered User
Posts: 3565
Joined: 27 Mar 2006, 02:00
Location: I forget

Post by viceroy »

it does, but that username and password is hardcoded into the code.

as I said the SMS account we want to use has the same rights as my account.
Image
Judas
Registered User
Posts: 2118
Joined: 17 Oct 2006, 02:00
Location: Stellenbosch
Contact:

Post by Judas »

Doesn't the service store a logfile somewhere, or use the Windows event log? That's always a big help in troubleshooting...
'One will rarely err if extreme actions be ascribed to vanity, ordinary actions to habit, and mean actions to fear.'
- Friedrich Nietzsche

'Do not argue with Judas, nube, that would be foolish!'
- D3PART3D
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Post by Anthro »

I have found that you need to give a specific user access to a database module in iis - the error was something random
oh yeah..:
People Online:
Visitors: 606
Members: 33
Total: 639 8O
Temporary Absence
Post Reply