以80端口为例——
1.修改:C:inetpubwwwrootwssVirtualDirectories80web.config文件配置
CallStack="false" 修改为 CallStack="true";
customErrors mode="On" 修改为 customErrors mode="Off";
debug="false" 修改为 debug="true";
2.修改:C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15TEMPLATELAYOUTSweb.config文件配置
customErrors mode="On" 修改为 customErrors mode="Off";
3.修改:C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15CONFIGweb.config文件配置
customErrors mode="On" 修改为 customErrors mode="Off";
4.修改:C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15TEMPLATEADMINweb.config文件配置
customErrors mode="On" 修改为 customErrors mode="Off";
5.修改:C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions15ISAPIweb.config文件配置
customErrors mode="On" 修改为 customErrors mode="Off";
注意:一般情况下,只需要修改C:inetpubwwwrootwssVirtualDirectories80web.config即可;
修改之前,记得做备份;