How get details of unexpected sharepoint error?

≡放荡痞女 提交于 2019-12-13 03:54:48

问题


I have deployed sharepoint solutions. Some of web-parts always cause unexpected error. Some days ago they worked, before installing sharepoint on new server.

I will try to find error details.

  • In Central Administration http://localhost:3442/_admin/metrics.aspx in Trace Log C:\program files\common files\Microsoft shared\Web server extensions\12\LOGS files have not detail.aspx information.
  • IIS logs is not contain useful information too
  • Windows Event Log is empty
  • I switched <customErrors mode="Off" /> in all .config files.

How I can solve this problem? How I can to find details of the error?


回答1:


For switch off sharepoint error handler you must to change web.config so as following example

<configuration>
<SharePoint>
    <SafeMode MaxControls="200" CallStack="True" DirectFileDependencies="10" 
     TotalFileDependencies="50" AllowPageLevelTrace="True">

More information here https://msdn.microsoft.com/en-us/library/ee231550.aspx




回答2:


As its a SharePoint error, the first thing to look is to check ULS logs which should be in 12\logs. Its worth installing ULS log viewer on the SharePoint server. Open the log file in it and search test/default.aspx. Check further down, there should be some clue about the error.

ULS log viewer can be downloaded from http://shrptninjatoolkit.codeplex.com/releases/view/15669



来源:https://stackoverflow.com/questions/45465622/how-get-details-of-unexpected-sharepoint-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!