Getting aspxerrorpath Error in URL - Path Exists - Why 404?
I have a Redirect.aspx page. This page takes in parameters and redirects to the appropriate resource based on those parameters.
Another page sends a redirect to Redirect.aspx and I end up on the Default.aspx page with an aspxerrorpath=/myapp/Redirect.aspx.
I assume this means that I got a 404 error and that it means that it could not find the Redirect.aspx file. But I check the project directory and th开发者_如何学Ce file is there.
Any ideas on why my I am getting this error? Thanks!
I found a solution here. The real catch was using this:
Response.TrySkipIisCustomErrors = true;
精彩评论