Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / September 2006

Tip: Looking for answers? Try searching our database.

Error in Windows Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Karthikeyan.T.S - 04 Sep 2006 08:51 GMT
Hi,

I am getting a error when I try to start a Windows Service. The error is
"The XYZ service on local computer started and then stopped.Some services
stop automatically if they have no work to do,for example, the performance
logs and alerts service."
I don't know why it is throwing such a error. kindly advise.
Thanks in Advance.

Regards,
Karthi
Martin.Kunc@gmail.com - 05 Sep 2006 08:13 GMT
Hallo Karthi,
this is most probably what it says, your service starts and then
finishes. You could have an exception thrown, or it is your application
normal behaviour.
When you write win services, it is good practice to log everything into
eventlog for example. Or, it is usual to write service first as console
application without all neccessary Installer stuff and try all your
work with visible output.
Your service should do something, or simply wait something all the time
until it is finished from SCM.

regards, Martin

> Hi,
>
[quoted text clipped - 7 lines]
> Regards,
> Karthi

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.