A
Alexey Kouzmitch
Hi,
I wrote a console application which is called from a SQL Server job. The
application utilizes a COM object, to pump data from a legacy (no very old
however) application to SQL server. The application works fine, but once in
a while it fails with the following message written to the event log:
-----------------------------------------------------------------------
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.0-
<application name>.exe -
Common Language Runtime Debugging Services: Application
has generated an exception that could not be handled.
Process id=0xce8 (3304), Thread id=0xdf4 (3572).
-----------------------------------------------------------------------
The application wraps ALL of its code in a try...catch... block and then
writes a log entry in the catch. That doesn't get called when this happens.
It seems as if the application is just stopped w/o it knowing it and an
error generated in the runtime.
The error doesn't seem to have a pattern, and a repeat run of the program
would work.
What could be causing this? How can I get more information on the error? Is
there a way to make the program generate a cordmp file to see what the
exception was and where exactly it had happened?
Thanks.
-Alexey.
I wrote a console application which is called from a SQL Server job. The
application utilizes a COM object, to pump data from a legacy (no very old
however) application to SQL server. The application works fine, but once in
a while it fails with the following message written to the event log:
-----------------------------------------------------------------------
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.0-
<application name>.exe -
Common Language Runtime Debugging Services: Application
has generated an exception that could not be handled.
Process id=0xce8 (3304), Thread id=0xdf4 (3572).
-----------------------------------------------------------------------
The application wraps ALL of its code in a try...catch... block and then
writes a log entry in the catch. That doesn't get called when this happens.
It seems as if the application is just stopped w/o it knowing it and an
error generated in the runtime.
The error doesn't seem to have a pattern, and a repeat run of the program
would work.
What could be causing this? How can I get more information on the error? Is
there a way to make the program generate a cordmp file to see what the
exception was and where exactly it had happened?
Thanks.
-Alexey.