Application has generated an exception that could not be handled

  • Thread starter Thread starter Skylar Challand
  • Start date Start date
S

Skylar Challand

I am getting the following message on a Windows XP computer when trying
to run a VB program. The same program is installed on 8 different
computers without any issues. .NET Framework is installed & app was
installed using the installer that comes with Visual Studio .NET. The
application uses an ODBC connection to an access database, which should
have installed with the installer as well as Crystal Reports, which also
is installed with the installer.

The error is as follows:

------------------------------------------------------------
| App.exe - Common Language Runtime Debugging Service | X |
------------------------------------------------------------
Application has generated an exception that could not be handled.

Process id=0xff4 (4084), Thread id=0x84c (2124)

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

[ OK ] [ Cancel ]
------------------------------------------------------------


Does anyone know why I would be getting this error? What steps should I
take to look into this deeper? Debugging of course does not work on that
computer as it doesnt have any software to debug. It seems very random
as it runs fine on 8 different computers. Any Ideas?
 
Skylar,

Short of installing debugging on this machine, have you checked for anything
logged to the event logs at the time the exception is thrown? Is any other
..NET application running fine on the machine?
 
I haven't check that, is there generic event logs that I could check? My
program isn't created to write to anything specific. Also, the computer
doesn't have any other .NET application running. Is there anything like
a .NET system check that I could run?
 
Skylar,

In general Windows catches and logs application problems and if say an
external problem did cause your app to crash, perhaps it has been logged in
one of the system defined event logs?

I would do a quick reinstall of the .NET Framework, that should take care of
a problematic .NET Framework.
 
We did a complete uninstall of the .NET Framework, did all the Windows
Updates and SP2 install as well. Reinstalled the app and still got the
same error. I'm baffled at this problem.

Can you point me in the direction where I might find these event logs
specifically? I havent been able to find any information on them from
google.

Also, I'm going to try running another .NET application to see if I get
this error. Is there any .NET self checking software apps out there or
do you think it would be best if I just make a quick simple "Hello,
world!" app.

Thanks again
 
A simple Hello World should do to see if the .NET Framework is working as
it should. With regards to the event logs, have you looked at the Event
Viewer utility in the Administrative Tools menu?
 
Back
Top