我的应用程序中出现“500 内部服务器错误”。
如何调查此错误。
You may take a look at the Application Event Log on the server. Unhandled exceptions in ASP.NET applications are usually written there.
您可以在 web.config 文件中设置自定义错误
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
这将显示异常详细信息。在此处查看有关它的 MSDN 文档http://msdn.microsoft.com/en-us/library/y123fsf7(v=vs.85).aspx