By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,820 Members | 957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,820 IT Pros & Developers. It's quick & easy.

Application has generated an exception that could not be handled.

P: n/a
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
Share this Question
Share on Google+
4 Replies

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.