Get more MOSS Error logs instead of “An unexpected error has occurred”
December 19th, 2007 — ¥ong¥s
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.


