Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

service on Local Computer started then stopped. Somer services ...

Posted on 2004-09-12
5
Medium Priority
?
22,904 Views
Last Modified: 2011-08-18
I'm setting up user-defined services and get the following error on Windows 2003 Server.

The <service name> service on Local Computer started then stopped. Somer services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.

I'm simple settin up an application to run as a service. It's always worked on Windows 2000 using Windows 2000 Resource Kit (files instsrv.exe and srvany) and w/ Windows XP, also using the Windows 2000 Resource Kit.

On Windows 2003 Server, using its own resource kit, it fails w/ the above error.
However, If I use the instsrv.exe and srvany.exe files from the Windows 2000 Resource Kit on the Windows 2003 Server box the services run ok. Is there a known issue w/ the Resource Kit for Windows 2003?

I know this is a known error, but from the research I've done, there are no issues when setting up a simple application to run as a service.

Thanks in advanced.

0
Comment
Question by:macondo100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 22

Expert Comment

by:cookre
ID: 12041068
2003 Server has many enhanced security provisions.  Well, not so much enhanced, rather a tightening of security by removing permissions that had previously been granted by default.

I suspect you're falling prey to that.

Presuming you've already checked the event logs, I'd suggest you trace program execution with your own log file to see where it's failing. A simple text file you open and close for each trace point will ensure that buffered messages at the point of failure won't be lost.
0
 

Author Comment

by:macondo100
ID: 12050561
Got it resolved.
Actually, I was using (instructing someone to do so) the reg.exe from Windows 2003 Server to create certain keys, but it was failing. It always worked w/ NT, XP, and 2000 (using the Windows 2000 Resouce Kit's reg.exe). I wasn't able to figure it out because I was working w/ a couple of folks unfamiliar to the services and they sweared the keys were correct when they were actually not.
Thanks.
0
 
LVL 22

Expert Comment

by:cookre
ID: 12050703
For what it's worth, that's one of the reasons I make my services self-installing.
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 12351578
PAQed, with points refunded (250)

GhostMod
Community Support Moderator
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Progress

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question