473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Application has generated an exception that could not be handled.

kd
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 terminate the application.
Click CANCEL to debug the application.

Does anybody know how to fix this error?

Thanks.
kd

Nov 21 '05 #1
4 40899
my first recomendation would be ,,, compile the program in debug mode and
copy this one to the computer that raises the error ,, you might receive a
less generic error thus receiving an error with a notification what is
exactly going wrong ...

if this not solves you problem i would start writing ,,, flags in my code
that outputs to msgboxes , or a trace file ,, so you can see where the error
occurs in your code

hope this helps

Michel Posseth [MCP]

"kd" <kd@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
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 terminate the
application.
Click CANCEL to debug the application.

Does anybody know how to fix this error?

Thanks.
kd

Nov 21 '05 #2
Make sure you've taken its *exe.config file with it, as if it's missing a
similar error is generated.

"kd" <kd@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
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 terminate the application. Click CANCEL to debug the application.

Does anybody know how to fix this error?

Thanks.
kd

Nov 21 '05 #3
July 24, 2005

If it is because of a missing app config file, then you could just copy the
..exe to another place on the dev's local hard drive and see if you get the
same error. You should get the same error because the app.config file is
missing in both places. Otherwise, I don't believe that is the problem. Hope
this helps! :-)

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.39.42.23
Static IP


"Cathal Connolly [C# MVP]" <cc*******@eg-consulting.com> wrote in message
news:O$**************@TK2MSFTNGP09.phx.gbl...
Make sure you've taken its *exe.config file with it, as if it's missing a
similar error is generated.

"kd" <kd@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
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 terminate the

application.
Click CANCEL to debug the application.

Does anybody know how to fix this error?

Thanks.
kd


Nov 21 '05 #4
kd
Hi,

Thanks to you both for your trying to help me out.

I checked the .NET documentation on MSDN in this regard. The help says that
the framework version on the deploying machine needs to be the same as the
one that was used for development. On the deployment machine, I had
downloaded the framework and on the development machine, I had installed the
framework from the CD. Though both mention that the framework version is 1.1,
there must've some change...I don't know about this. However, I uninstalled
the framework on the deployment machine and installed a copy from the CD.
This fixed the error.

Thanks once again.
Regards,
kd

"Cathal Connolly [C# MVP]" wrote:
Make sure you've taken its *exe.config file with it, as if it's missing a
similar error is generated.

"kd" <kd@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
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 terminate the

application.
Click CANCEL to debug the application.

Does anybody know how to fix this error?

Thanks.
kd


Nov 21 '05 #5

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

Similar topics

2
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...
1
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...
5
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 &...
5
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...
5
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...
2
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...
4
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...
2
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....
1
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
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...

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.