Application has generated an exception that could not be handled

M

mms18

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
 
S

Stoitcho Goutsev \(100\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top