Answered by:
C# first chance exception of type exception

Question
-
User1581998229 posted
When I am debugging a C# 2010 web application, I am getting the error, "A first chance exception of type 'System.Web.HttpParseException' occurred in System.Web.dll" sometimes.
I am wondering if you can suggest in what situations this error could be occuring and/or possibly help me to determine when this type of error is occuring?
The only thing I think that can be causing this error is when a user finishes working on my new pages on the company website. My new web pages run in a series of 5 pages. When they have finsished entering data for one customer i redirect the user to the first of the 5 pages. at any point the user can click the 'logout' button that is at the top of all the master pages. Could this be an issue?
Sunday, July 8, 2012 1:21 AM
Answers
-
User-578657687 posted
Hi,
"A first chance exception of type 'System.Web.HttpParseException' occurred in System.Web.dll" sometimesDon't worry about first chance execption too much. Those threads below discussed this sort of expection, please have a check:
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/da1eedcd-50d3-46b0-bfd8-f3c840d72b55
http://forums.asp.net/p/1496448/3529318.aspx
http://stackoverflow.com/questions/5487729/why-is-asp-net-throwing-so-many-exceptions
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, July 10, 2012 3:33 AM
All replies
-
User-18630151 posted
check this link
http://msdn.microsoft.com/en-us/library/system.web.httpparseexception.aspx
hope it will work
Sunday, July 8, 2012 2:02 AM -
User1581998229 posted
I am not parsing anything in the code that I aware of. To me parsing means to like take a string value and obtain the parts I need with like a substring statement.
Sunday, July 8, 2012 11:40 AM -
User-578657687 posted
Hi,
"A first chance exception of type 'System.Web.HttpParseException' occurred in System.Web.dll" sometimesDon't worry about first chance execption too much. Those threads below discussed this sort of expection, please have a check:
http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/da1eedcd-50d3-46b0-bfd8-f3c840d72b55
http://forums.asp.net/p/1496448/3529318.aspx
http://stackoverflow.com/questions/5487729/why-is-asp-net-throwing-so-many-exceptions
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, July 10, 2012 3:33 AM