473,785 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application has generated an exception that could not be handled

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?
Nov 22 '05 #1
5 4197
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?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Skylar Challand" <my.name@blatan tdotca> wrote in message
news:OC******** *****@TK2MSFTNG P10.phx.gbl...
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?

Nov 22 '05 #2
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?
CT wrote:
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?

Nov 22 '05 #3
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.

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Skylar Challand" <my.name@blatan tdotca> wrote in message
news:OZ******** ******@TK2MSFTN GP09.phx.gbl...
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?
CT wrote:
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?

Nov 22 '05 #4
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

CT wrote:
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.

Nov 22 '05 #5
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?

--
Carsten Thomsen
Enterprise Development with VS .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Skylar Challand" <my.name@blatan tdotca> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
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

CT wrote:
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.

Nov 22 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2151
by: Alexey Kouzmitch | last post by:
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 (not 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 )...
1
2639
by: Jim | last post by:
I built my Assemblies and created the .MSI file for installation. I've installed it with no problems on my XP & 2K machines. But a friend of mine who is running 2K gets this message when trying to run my app: ----------------------------------------------------------------- Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0x760(1888), Thread id=0x128(296)...
5
770
by: Skylar Challand | last post by:
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...
5
488
by: Bob L. | last post by:
Hi everyone, I have two small applications I have written that I am trying run from a network directory. Both applications have a dependency on another assembly (.dll), and I have .NET security wide open. One application is dependent on an interop assembly (Interop.IWshRuntimeLibrary.dll), and it works fine. The other application depends on three assemblies that I have written, and although the executable starts successfully, as soon as...
5
2382
by: | last post by:
I've created a small vb.net application which uses the Data Access Application Block to access a SQL Server 2000 database. The application works fine on the machine with the development environment (Windows 2K) but I am unable to get it to work on two other machines (Windows XP machines). When I try running the application on these machines I get a message box, after some delay, that says "Application has generated an exception that could...
2
1566
by: scorpion53061 | last post by:
This app I am working on generated an exception but I have only found it on his laptop. Other machines do not seem to have this issue. The exception is normally according to what I have seen on the net an ASP.NET exception. So why it is happening in Windows is a mystery to me.
4
10770
by: rs | last post by:
Hi guys Thank you in advance for the help. I developed a simple application using vs.net 2003. running framework 1.1 sp1. the application runs fine on the development machine (win xp). I tried to deploy it on a win 2000 sp4 framework 1.1 sp1. I got the following error Reminder.exe - Common Language Runtime Debugging Services application has generated an exception that could not be handled
2
2152
by: Murthy | last post by:
Hi, After genarating the exe when i run the exe the following error is comming. Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xdec (3564), Thread id=0xdf0 (3568) When I click CANCEL to debug, I get this error-message:
4
40924
by: kd | last post by:
Hi All, I have an exe, developed in vb.net (on XP Professional). I have copied the exe to another system, which is also an XP Professional system. I have installed MDAC 2.8. the .NET framework 1.1 and .NET framework 1.1 SP1. I am getting the following error reported by Common language runtime debugging services: Application has generated an exception that could not be handled. Process id=0x234(584) Thread id=0x404(1028). Click OK to...
1
2914
by: Vijaykumar Gaikwad | last post by:
While running application in user's machine i am getting error message i.e. Application has generated an exception that could not be handled. process id=0x1sec (492), Thread id =0xa04 (2564). Click ok to terminate the application click cancel to debug the application. While running on my machine and some of the users machine it's running fine.Framework installed is same on all the machines. So i don't understand what may be the reason. Could...
0
9491
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10163
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5397
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
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.