944,048 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 2208
  • C# RSS
Feb 2nd, 2007
0

Windows Service Problem

Expand Post »
I have written a Windows Service that runs without any problems on my test pc and on my development pc, but when I install on the pc's that it is developed for a thread in the service is never started. This thread is very simpel and runs perfectly on test and development pc's. Furthermore the service keeps running and all other threads and parts of the code keep working except for this one thread.
The code has been tested with Unit Tests, I have even tryed to run and debug the service as a program. When run as a program on all pc's (that includes the pc that it is developed for), there are no problems. And there are no exceptions that aren't handled.

My own conclusion was that there might be something wrong with Windows, except that it is the same version of Windows that my test and development pc's are running, and I have tryed to reinstall with no succes.

Is there anyone who can tell me what could be wrong
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Gajolsen is offline Offline
1 posts
since Jan 2007
Feb 2nd, 2007
0

Re: Windows Service Problem

you might add some debug code in that thread that writes stuff to a file so that you can see where it might be failing. Of course this does no good if the thread doesn't start at all.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,954 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: C# and ID3 tags
Next Thread in C# Forum Timeline: Why can't debug?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC