Application has generated an exception that could not be handled

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?
 
C

CT

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?
 
S

Skylar Challand

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?
 
C

CT

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.
 
S

Skylar Challand

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
 
C

CT

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top