Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2004

Tip: Looking for answers? Try searching our database.

Application has generated an exception that could not be handled

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Skylar Challand - 28 Oct 2004 22:36 GMT
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?
CT - 28 Oct 2004 23:05 GMT
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?

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

>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
[quoted text clipped - 23 lines]
> computer as it doesnt have any software to debug. It seems very random as
> it runs fine on 8 different computers. Any Ideas?
Skylar Challand - 28 Oct 2004 23:23 GMT
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,
>
> 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?
CT - 29 Oct 2004 09:29 GMT
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.

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

>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
[quoted text clipped - 6 lines]
>> anything logged to the event logs at the time the exception is thrown? Is
>> any other .NET application running fine on the machine?
Skylar Challand - 01 Nov 2004 22:55 GMT
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

> Skylar,
>
[quoted text clipped - 4 lines]
> I would do a quick reinstall of the .NET Framework, that should take care of
> a problematic .NET Framework.
CT - 02 Nov 2004 07:52 GMT
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?

Signature

Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105

> 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
[quoted text clipped - 19 lines]
>> I would do a quick reinstall of the .NET Framework, that should take care
>> of a problematic .NET Framework.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.