永发信息网

又是 <customErrors> 的问题

答案:2  悬赏:0  手机版
解决时间 2021-03-10 08:21
  • 提问者网友:疯孩纸
  • 2021-03-09 23:47
又是这个问题:

Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".









Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.








------------------------------------------------------------------
无论我把 customErrors 的mode设成"off"或"RemoteOnly"都不行,mycustompage.htm这个文件也是有的,.net的版本确定是4.0无误。
最佳答案
  • 五星知识达人网友:不想翻身的咸鱼
  • 2021-03-10 01:07
看来是服务器上不允许你黄屏,建议你Application Exception的时候log一下,看看什么异常
全部回答
  • 1楼网友:平生事
  • 2021-03-10 02:46
我不会~~~但还是要微笑~~~:)
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯