打开SharePoint 2010详细错误信息
2013-07-15 08:50
351 查看
默认情况下,如果SharePoint的页面在加载时出错,只会显示Unexpected Error或只是Error,为了查看详细信息,我们一般都会如下设置web.config
1.On the web server, navigate to the site directory (probably something like: C:\Inetpub\wwwroot\wss\VirtualDirectories\80 )
2.Open the web.config file in Notepad
3.Search for the safemode node with the word "CallStack" and change the CallStack status to true
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
4.Search for the CustomErrors node and set the mode to Off
<customErrors mode="Off" />
5.Save and close.
如果还是看不到详细错误信息,那可能是错误来自于_layouts文件夹,接着可以按如下方式设置:
1.On the web server, navigate to the c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS folder
2.Open the web.config file in Notepad
3.Search for the CustomErrors node and set the mode to Off
<customErrors mode="Off" />
4.Save and close.
1.On the web server, navigate to the site directory (probably something like: C:\Inetpub\wwwroot\wss\VirtualDirectories\80 )
2.Open the web.config file in Notepad
3.Search for the safemode node with the word "CallStack" and change the CallStack status to true
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false">
4.Search for the CustomErrors node and set the mode to Off
<customErrors mode="Off" />
5.Save and close.
如果还是看不到详细错误信息,那可能是错误来自于_layouts文件夹,接着可以按如下方式设置:
1.On the web server, navigate to the c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS folder
2.Open the web.config file in Notepad
3.Search for the CustomErrors node and set the mode to Off
<customErrors mode="Off" />
4.Save and close.
相关文章推荐
- 在 SharePoint 2010 打开网页出错时,显示实际的错误信息
- 由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribute 或从 <serviceDebug> 配置行为)以便将异常信息发送回客户端,
- 如何查看SharePoint未知错误的详细信息
- SharePoint打开错误信息
- Sharepoint 创建个人网站时出现错误。有关详细信息,请与网站管理员联系
- 让SharePoint直接显示详细的错误信息
- 如何查看SharePoint未知错误的详细信息
- 让SharePoint站点输出详细错误信息
- sharepoint显示详细错误信息
- Sharepoint学习笔记---Debug&TroubleShooting-如何让Sharepoint2010网站返回详细错误信息
- sharepoint开发中,页面报“未知错误”或“Unknown Error”后,如何查看详细错误信息
- 如何查看SharePoint未知错误的详细信息
- 让SharePoint站点输出详细错误信息[转]
- 关于serv-u公网访问出现“打开ftp服务器上的文件夹时发生错误。请检查是否有权限访问该文件夹。详细信息:操作超时”的解决方法
- sharepoint 2013 设置 显示详细错误信息
- 由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribute 或从 <serviceDebug> 配置行为)以便将异常信息发送回客户端,或打开对每个 Microsoft .NET Framework SDK 文档的跟踪并检查服务器跟踪日志。
- 异常信息:由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribut
- 关于wcf异常异常信息:由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribut
- 让SharePoint站点输出详细错误信息[转]
- Sharepoint 2010 显示详细错误