Make the following changes to the web.config of the MOSS application to get the actual error occurred in the application which will help to debug the application in easier way:
· Set the ‘CallStack’ property of SafeMode tag (under SharePoint tag) as ‘true’.
· Set the ‘AllowPageLevelTrace’ property of SafeMode tag (under SharePoint tag) as ‘true’.
· Set the ‘mode’ property of customErrors tag as ‘Off’.
· Set the debug property of compilation tag as ‘true’.