Web.config Custom Errors mode Conflict

前端 未结 11 1477
执笔经年
执笔经年 2020-12-25 12:52

I have a great and important problem with Web.Config, I need to see the Error of my page and resolve it in asp.net web form and web config, but when Error Occurred, I see an

11条回答
  •  Happy的楠姐
    2020-12-25 13:50

    First, you can set CustomErrors mode from "RemoteOnly" to "off"

    Second, You can check the global.asax.maybe you create Response.Redirect as same as defaultRedirect in customError. you can check more detail in here ASP.NET customErrors with mode=remoteOnly and global.asax handling exceptions

    and the last,maybe you create two system.web in your webconfig. You should only have one in your config file.please check again your webconfig. and dont forget

提交回复
热议问题