?
=?iso-8859-15?Q?Stefan_K=FChnel?=
Hi!
We're having a problem with converting a program from .NET 1.1 to .NET
2.0. The program is kind of an AppServer (which can run as NT service or
as a console application), where we don't control which applications are
run inside it. Now we have a problem with one application which uses a
third party library and this library causes an unhandled exception in a
finalizer. This then brings down the whole server.
The cause of this is the different treatment of unhandled exceptions in
..NET 2.0 (http://msdn2.microsoft.com/en-us/library/ms228965.aspx). We
could work around this problem by setting the application compatibility
flag <legacyUnhandledExceptionPolicy enabled="1"/>. But I was wondering
if there is a better way to deal with this?
Thanks for any insight,
Stefan
We're having a problem with converting a program from .NET 1.1 to .NET
2.0. The program is kind of an AppServer (which can run as NT service or
as a console application), where we don't control which applications are
run inside it. Now we have a problem with one application which uses a
third party library and this library causes an unhandled exception in a
finalizer. This then brings down the whole server.
The cause of this is the different treatment of unhandled exceptions in
..NET 2.0 (http://msdn2.microsoft.com/en-us/library/ms228965.aspx). We
could work around this problem by setting the application compatibility
flag <legacyUnhandledExceptionPolicy enabled="1"/>. But I was wondering
if there is a better way to deal with this?
Thanks for any insight,
Stefan