473,491 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

.Net Runtine Error

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
1 5094
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4358
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
16211
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
1
8391
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
1
6380
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
13
6569
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
4976
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
2
342
by: Mohammed Naveen Ajmal | last post by:
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...
2
19391
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
2897
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.