-2

我的应用程序中出现“500 内部服务器错误”

如何调查此错误。

4

2 回答 2

0

You may take a look at the Application Event Log on the server. Unhandled exceptions in ASP.NET applications are usually written there.

于 2013-10-29T09:04:07.877 回答
0

您可以在 web.config 文件中设置自定义错误

<configuration>
  <system.web>
       <customErrors mode="Off"/>
   </system.web>
</configuration>

这将显示异常详细信息。在此处查看有关它的 MSDN 文档http://msdn.microsoft.com/en-us/library/y123fsf7(v=vs.85).aspx

于 2013-10-29T09:08:57.813 回答