Displaying ASP.NET Error Messages
You can disable Microsoft Windows SharePoint Services error messaging so that ASP.NET error messages are displayed instead.
To display ASP.NET error messages, perform the following steps:
- In the Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS folder, change the name of the global.asax file to global.bak.
- In the web.config file in the same folder, change customErrors = "On" to customErrors="Off".