在网站根目录添加web.config,并在该文件中加入如下代码:
<configuration>
<system.web>
<customErrors mode=”Off” />
</system.web>
<system.webServer>
<httpErrors errorMode=”Detailed” />
</system.webServer>
</configuration>
在网站根目录添加web.config,并在该文件中加入如下代码: <configuration> …