VS2005 Debugger causes Application_Error

G

Guest

While using the debugger in VS2005 it occasionally will cause an
Application_Error. The reason I know this is the first line of the
Application_Error method checks the request object:

if (Request.Url.Segments[Request.Url.Segments.Length - 1] ==
"get_aspx_ver.aspx")

This code was for VS2003 to catch when it was checking for the hidden file
'get_aspx_ver.aspx" to check which version of Framework was loaded. It
appears that VS2005 does something different. Anybody have any idea what
VS2005 is doing?

The specific message received is 'Request is not valid in this context'.
The context is also null (System.Web.HttpContext.Current).

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,145
Latest member
web3PRAgeency
Top