all groups > dotnet windows forms > february 2006 >
You're in the

dotnet windows forms

group:

Application has generated an exception that could not be handled


Application has generated an exception that could not be handled mms18
2/27/2006 4:23:31 AM
dotnet windows forms:
I have an application developed by .net framework 1.0 , the
application works fine on my development machine , but on the
non-development machine (the customer machine) the application sometime
crashes
giving this error message , note that i handeled the unhandled
exceptions in my application and that also there is no a particualr
scenario that produces this exception.
So does anyone have any ideas about what could be the reason for this
exception , please help me because am stuck in this problem for more
than a month now.
I would Like to add that the application runs and that this exception
appears while using the application.
Thanks for the help in advance
Re: Application has generated an exception that could not be handled Stoitcho Goutsev (100)
2/27/2006 10:48:13 AM
mms18,

It is really hard without having a scenario to repro the problem, but if you
use threads in your application keep in mind that exceptions thrown in a
worker thread cannot be handled in the main thread. If you have Windows
Forms application make sure that you listen for ThreadException ervents.
Hook on AppDomain Unhandled excpetion as well.


--

Stoitcho Goutsev (100)

[quoted text, click to view]

AddThis Social Bookmark Button