ASP.Net Response.Redirect not working in Application_Error?

后端 未结 5 1963
萌比男神i
萌比男神i 2021-01-04 03:52

I don\'t know why the Response.Redirect not working properly when I deploy my code to IIS7? The white/yellow error page always get displayed instead of my Errors.aspx. But w

5条回答
  •  天涯浪人
    2021-01-04 04:26

    Try to turn off the CustomError in web.config. It will give you more specific about the error details. Maybe it doesn't the error from Response.Redirect.

提交回复
热议问题