为什么在使用IIS Express时出现错误500.0(包括大量调试信息) [英] Why am I getting error 500.0 in when using IIS Express (significant debug info included)
问题描述
我在VS2010 SP1上创建了一个空白的MVC 3应用程序,并将该应用程序设置为使用IIS Express.调试时出现错误500.0(0x80070585)
I created a blank MVC 3 application on VS2010 SP1, and set the app to use IIS Express. When I debug, I get error 500.0 (0x80070585)
我能够使用VS开发服务器成功运行该应用程序
I am able to succesfuly run the app using the VS dev server
我已将应用程序目录设置为所有人的完全权限",只是为了消除所有可能的安全问题.我进一步验证了IIS express可以通过使用SysInternals ProcMon进行确认来访问web.config. ProcMon不会不显示试图从我的应用程序目录中的任何其他文件读取的IISExpress进程.
I have set the app directory to Full Permissions for Everyone, just to eliminate all possibility of security issues. I have further verified that IIS express is able to hit the web.config by confirming it using SysInternals ProcMon. ProcMon does not show the IISExpress process attempting to read from any other files in my application directory.
我遵循了以下问题的建议,但并没有给我任何更好的信息. HTTP 500内部错误-IIS网站
I have followed the suggestions in the following question, but it does not give me any better information. HTTP 500 Internal Error - IIS websites
在Logs或TraceLogs目录中的IISExpress目录中均未生成任何日志,但是在Temp中创建了日志,但这不是很有用.
No logs are generated in the IISExpress directory in either the Logs or TraceLogs directory, but a log is created in Temp, however it is not very useful.
Successfully registered URL "http://localhost:62017/" for site "MvcApplication1" application "/"
Registration completed for site "MvcApplication1"
Request ended: http://localhost:62017/ with HTTP status 500.0
Request ended: http://localhost:62017/ with HTTP status 500.0
Request ended: http://localhost:62017/ with HTTP status 500.0
我在事件查看器中找不到任何消息
There are no messages I am able to find in the Event Viewer
**更新:** 禁用的防火墙,无变化 通过命令行运行IISExpress,无需更改
**Updates : ** Disabled firewall, no change Ran IISExpress via command line, no change
推荐答案
重新安装iis express似乎已解决了该问题
reinstalling iis express appears to have resolved this problem
这篇关于为什么在使用IIS Express时出现错误500.0(包括大量调试信息)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!