By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,314 Members | 2,155 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,314 IT Pros & Developers. It's quick & easy.

.Net Runtine Error

P: n/a
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
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
-----Original Message-----
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 finein 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 notstart. It logs the following error.

The description for Event ID ( 0 ) in Source ( .NET
Runtime ) cannot be found. The local computer may not havethe necessary registry information or message DLL files todisplay 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
.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.