Re: Reason for Application.ThreadExit by Richard
Richard
Mon Jan 15 18:40:17 CST 2007
Hi,
How do you know the exception is occuring if you cannot catch it? Are you
receiving a dialog? What version of the framework are you using? Are you
aware that unhandled exceptions wont be caught in debug mode? Why do you
include sql 2005 plus unmanaged in your problem? Does the problem occur when
accessing code paths involving these services or is it just totally random?
Richard
<pavel.orehov@gmail.com> wrote in message
news:1168867909.217511.100110@m58g2000cwm.googlegroups.com...
> Hi,
>
> We have the strange problem that sometime in our application
> Application.ThreadExit is raised and out application shutting down.
>
> We do not see any previous exceptions before this event fires.
>
> Moreover the Application.ThreadException event is not fired at all, so
> we have not unhandled exceptions that occurs.
>
> We are working with SQL-2005 and with some unmanaged code too.
>
> What can be the reason for such behaviour ? And how can we catch suchR
> error ?
>
> Thanks,
> Pavel
>