.Net Runtine Error

  • Thread starter Thread starter Mohammed Naveen Ajmal
  • Start date Start date
M

Mohammed Naveen Ajmal

I have two windows services with most of the code similar.
All the routines are same except one routine which is
called from the Timer_Elapsed. Both the services work fine
in the developement server. I have framework version
1.3075.288. On the deployment server only one of the
service work fine. The other service installs but does not
start. It logs the following error.

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.0.3705.419- gsarservice.exe - Common Language
Runtime Debugging Services: Application has generated an
exception that could not be handled.

Both the services use respective config files which
fetches some string values in the OnStart event. Both
these have almost similar configuration information.

When I remove the config file from the path for the
failing service. The service start but logs error telling
that it could not fetch the Key value. If config file is
placed back the service fails to start again.

Thanks in Advance
Md. Naveen Ajmal
 
I could resolve the problem myself. The error message
reported in the eventlog was actually misleading. The
problem was in the config file used by one of the
services. It was not well formed. It had an extra Double
Quote.

Md. Naveen Ajmal
 
Back
Top