Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Service will not start (VB.NET 1.1)

Status
Not open for further replies.

marzen78

MIS
Sep 17, 2002
7
US
I have a windows service that runs fine on my development 2K Professional box. Whenever I try to run it on a Server machine it will not start. I have installed the latest .NET FrameWork package onto the server, and the installutil works fine. When I attempt to run it from the services window I receive the following error message:

The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.1.4322.573- disk monitor.exe - Common Language Runtime Debugging Services: Application has generated an exception that could not be handled.

Process id=0x5dc (1500), Thread id=0x5a0 (1440).

Click OK to terminate the application.
Click CANCEL to debug the application..


This program monitors the disk space on all of the Windows servers at work.

Thanks.

P.S.
The same code works fine on the 2K server when it is not running as a service class.

 
Make sure you have Try..Catch blocks in your OnStart sub so that you can catch any exception that gets raised, and make sure you log it. This "catch of last resort" will help you debug these kinds of problems.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top