| | |
Windows Service Problem
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jan 2007
Posts: 1
Reputation:
Solved Threads: 0
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
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
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.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- Windows service and threads and sockets (C#)
- How to create a windows service? (Visual Basic 4 / 5 / 6)
- Oracle Service Problem (Oracle)
- How to add any task to windows service? (C#)
- Problem with Windows Service (C#)
- Windows XP Service Pack 2 (Windows NT / 2000 / XP)
- windows service pack 2 installation - unique problem (Windows NT / 2000 / XP)
Other Threads in the C# Forum
- Previous Thread: C# and ID3 tags
- Next Thread: Why can't debug?
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# chat check checkbox class client combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development draganddrop drawing encryption enum event excel file files form format forms ftp function gdi+ httpwebrequest image index input install label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






