RE: "not handled in user code" dialog
- From: Leslie <mason@xxxxxxxxxxxxxxxx>
- Date: Wed, 19 Jul 2006 09:50:02 -0700
Jeffrey,
I did build a small sample project. How do I get the zip file to you?
Thanks,
Leslie
""Jeffrey Tan[MSFT]"" wrote:
Hi Leslie,.
Thanks for your feedback!
Yes, that is. In debugging mode, the VS2005 will popup a Managed Debugging
Assistants dialog for the exception. This dialog will have a line arrow
points to the code that is generating the exception.
Below is some more information regarding MDA feature of VS2005:
http://blogs.msdn.com/jmstall/archive/2005/11/10/introducing_mdas.aspx
If there is no port number follow with http://localhost, then you are using
HTTP and IIS.
Since the main thread unhandled exception will be caught in
Application_Error handler, so I assume your exception comes from another
thread. To determine this, you may first use F10 to start the debugging,
and then use open menu Debug->Windows->Threads in VS2005(or pressing Ctrl +
D, T). In the Threads window, you can remember the main thread ID. Then you
may press F5 to run the application. While the MDA exception dialog pops
up, you may again give the current thread a view in Threads window, then
you can determine if the current exception thread ID is the same as the
original main thread.
Without knowing the background information regarding your Asp.net project,
it is hard for us to figure out why there is an unhandled exception
generated in App_Web_u6bxlmfn.dll in another thread. Is it possible for you
to provide a little sample project to demonstrate this problem?
In this scenario, it is helpful to install the debugging symbols of the
managed assemblies, then in Debug->Windows->Call Stack window, you may find
out the call stack information of this exception. With the call stack, you
may find out if there is any user written code in the call stack causes
this exception.
Microsoft provided a public symbol server for us to download the system
managed symbols: http://msdl.microsoft.com/download/symbols. You may refer
to the article below to find out how to use symbol server in VS2005:
"How to: Use a Symbol Server"
http://msdn2.microsoft.com/en-us/library/b8ttk8zy.aspx
Finally, please feel free to paste the call stack information here. I will
give it a look. Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
- Follow-Ups:
- RE: "not handled in user code" dialog
- From: "Jeffrey Tan[MSFT]"
- RE: "not handled in user code" dialog
- From: "Jeffrey Tan[MSFT]"
- RE: "not handled in user code" dialog
- References:
- RE: "not handled in user code" dialog
- From: "Jeffrey Tan[MSFT]"
- RE: "not handled in user code" dialog
- From: Leslie
- RE: "not handled in user code" dialog
- From: "Jeffrey Tan[MSFT]"
- RE: "not handled in user code" dialog
- Prev by Date: Re: Errors in Error List with no line numbers
- Next by Date: Re: ASP.NET project slow loading in debug mode
- Previous by thread: RE: "not handled in user code" dialog
- Next by thread: RE: "not handled in user code" dialog
- Index(es):
Relevant Pages
|