Get more MOSS Error logs instead of “An unexpected error has occurred”

Online project management, task software, and free collaboration workspace: AJAXWorkspace
AJAXWorkspace is a free online workspace that offers task tracking software, team collaboration, online calendar, document sharing, and file management for project management and teamwork.

Are you getting frustrated with “An unexpected error has occurred” in sharepoint 2007? I found some useful tips. You can get more error messages from MOSS especially when they are not written to the application log. Do follow the steps below to get more:

1. Go into the web.config and set custom errors to off:

<customErrors mode=”Off” />

2. Turn on tracing and the callstack by setting both to true:

<SafeMode MaxControls=”200″ CallStack=”true” DirectFileDependencies=”10″ TotalFileDependencies=”50″ AllowPageLevelTrace=”true”>

3. There can be valuable info in the Event Log, so check there for more information on any exceptions that may have been thrown.

Posted in SharePoint.

2 Responses to “Get more MOSS Error logs instead of “An unexpected error has occurred””

  1. Mark Kamoski Says:

    …thanks for the great info… a little off-topic but when I turn that on I get a wierd error…

    …I try to go to >ListSettings, >Settings, >TitleAndDescription…

    …it tries to load this page…

    https://www.MyName1.com/sites/MyName2/_layouts/ListGeneralSettings.aspx?List=%7B08470502%2D4721%2D4445%2DA906%2DE99265783BFF%7D

    …and it shows this error…

    Value does not fall within the expected range. at Microsoft.SharePoint.SPListTemplateCollection.FindServerTemplate(Guid featureId, Int32 templateType)
    at Microsoft.SharePoint.SPList.get_ServerTemplate()
    at Microsoft.SharePoint.SPList.get_OnQuickLaunch()
    at Microsoft.SharePoint.ApplicationPages.ListGeneralSettingsPage.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    …so do you happen to have any kind hints?

    Please advise.

    Thank you.

    – Mark Kamoski

  2. Get more MOSS Error logs instead of “An unexpected error has occurred” « yyTech Blog on .Net, SQL, SharePoint, Collaboration and tech tips. Says:

    [...] Read the rest of this entry (moved to http://www.bronios.com) » Posted in SharePoint. Tags: moss error, Sharepoint 2007. [...]

Leave a Reply