Search code examples
asp.netsharepointsharepoint-2007iis-6

How get details of unexpected sharepoint error?


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

error

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?


Solution

  • 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