[Mono-dev] first chance exceptions

Nate Barger nate.barger at gmail.com
Thu Apr 3 14:24:17 EDT 2008


Hi, so in my program I get these different exceptions thrown in
mscorlib.dll:

A first chance exception of type 'System.UnauthorizedAccessException'
occurred in mscorlib.dll
A first chance exception of type 'System.InvalidOperationException' occurred
in System.Web.dll
A first chance exception of type 'System.TypeLoadException' occurred in
mscorlib.dll
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in mscorlib.dll

In Windows, I get the exceptions but my program barrels through with no
hiccups.  But mono treats them as http 500 errors using mod mono 1.9, xsp
1.9, mono 1.95.

I have looked online to try to debug the mscorlib.dll to see where my actual
error is at, but I cannot seem to figure out how to get visual studio to
stop.  On the ASP.net forums, I read this:

First chance exception messages most often do not mean there is a problem in
the code. For applications / components which handle exceptions gracefully,
first chance exception messages let the developer know that an exceptional
situation was encountered and was handled.

http://blogs.msdn.com/davidklinems/archive/2005/07/12/438061.aspx

I was just wondering any input you guys have on this issue, thank you.
-Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080403/b9489b61/attachment.html 


More information about the Mono-devel-list mailing list