开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜