在该站点下的配置文件里面修改以下节点(C:\inetpub\wwwroot\wss\VirtualDirectories\站点端口号\web.config)
1.<SafeMode MaxControls="200" CallStack="false"
DirectFileDependencies="10" TotalFileDependencies="50"
AllowPageLevelTrace="false">
改为:
<SafeMode MaxControls="200"
CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50"
AllowPageLevelTrace="false">
2.<customErrors mode="On " /> 改为:<customErrors mode="Off " />
3.<compilation batch="false" debug="false ">改为; <compilation
batch="false" debug="true ">
修改后就会把错误源显示出来,总比报"未知错误"好吧!