We help IT Professionals succeed at work.

Service installed using instsrv & srvany does not function

jt_74
jt_74 asked
on
573 Views
Last Modified: 2012-06-27
I have an application installed as a service on windows 2003 server sp1.  I used the instsrv & srvany from the win2003 resource kit to install the service.  I can see the application start up in the task manager, however nothing happens.  I can tell if the application is running because it opens a database connection and writes to a log file.  It does neither when started as a service.  It runs properly if I just double click the application alone.  

I work for a software company, and we use srvany to run a server application as a service for many customers.  I have it successfully running on windows 2000 servers, 1 windows 2003 server (without SP1).  I think it has to do with tighter process security with sp1.  

I installed the service while logged on to the server with remote desktop using an account with administrator rights.  The server is not a domain controller.  
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2006

Commented:
does your service depend on anything else? had a similar issue with an SQL program and it was service dependencies in the end

Author

Commented:
I checked out all running services on another windows 2003 server that is running this service successfully and everything checks out.  It does not appear there are any service dependancies that are not already running.  
CERTIFIED EXPERT
Top Expert 2006

Commented:
apologies for leaving you on this one mate, completely forgot about it - had some funny issues with exchange about a month ago....

do you get any errors in your logs when the service starts?

Author

Commented:
My apologies for not updating the question.  I resolved it myself.  I did not realize that the account running the service needs to either be an administrative account or the service account.  I was using another account.  I just assumed that since I received no errors/warnings of any kind that I could use any account I wanted to run the service.  It was also handy since I preferred using windows authentication for the database connections.  


CERTIFIED EXPERT
Top Expert 2006

Commented:
ah good stuff my friend!

u can just post a 0 point question in community support asking for the question to be closed as your resolved yourself

just make sure you include a link to this Q

cheers

Commented:
Welll this is already in cleanup...

Commented:
From delete - refund to PAQ - refund after the Asker posted the solution? Absolutely :)
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.