在IIS Express中运行网站时,浏览器返回500服务器错误。根据事件日志,它显示“发生了未处理的访问异常。”
Event log details: Event code: 4011 Event message: An unhandled access exception has occurred. Event time: 1/05/2019 7:38:17 PM Event time (UTC): 1/05/2019 7:38:17 AM Event ID: 1dcf9c41edb04864b0baf2b384982bcd Event sequence: 5 Event occurrence: 1 Event detail code: 0 Application information: Application domain: /LM/W3SVC/2/ROOT-1-XXXXX Trust level: Full Application Virtual Path: / Application Path: C:\Users\xxxx\Documents\ecommerce\Source\Website\ Machine name: XXXX-LAPTOP Process information: Process ID: 22520 Process name: iisexpress.exe Account name: XXXX-LAPTOP\xxxx Request information: Request URL: http://localhost:31499/ Request path: / User host address: ::1 User: Is authenticated: False Authentication Type: Thread account name: XXXX-LAPTOP\xxxx Custom event details:
有人对问题可能有什么想法吗?
答案 0 :(得分:0)
这是由于web.config文件中的配置更改而发生的。实际上,当删除站点正常运行时,有人添加了Azure事件配置。
谢谢。