Advertisement

06.08.2008 at 12:08PM PDT, ID: 23467496
[x]
Attachment Details

Service starts and then stops

Asked by jhshukla in Windows XP Operating System, C# Programming Language

I created a service to monitor changes to files in a certain folder. It compiled and installed properly but when start it (from services.msc window, how else?) it tells me that the service started and then stopped, may be because it had no work to do. I basically copy-pasted code from this page (http://aspadvice.com/blogs/sswafford/archive/2006/10/14/Monitor-a-specified-file-location-for-changes.aspx) and modified it to point to correct folder.

Needless to say and probably irrelevant info but still:
OS: WinXP Pro
Language: C#
Framework: .Net 3.0

Please advise.Start Free Trial
[+][-]06.08.2008 at 12:23PM PDT, ID: 21739264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.08.2008 at 12:46PM PDT, ID: 21739335

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows XP Operating System, C# Programming Language
Sign Up Now!
Solution Provided By: jhshukla
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.08.2008 at 06:37PM PDT, ID: 21740340

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.17.2008 at 12:11AM PDT, ID: 21800468

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628