We come across many time seeing the Same Error page on the MOSS 2007/ WSS 3.0 . While developing the SharePoint Site, one wants to identify the kind of error occurring, in order to get the stack trace(Yellow Page) for the error, follow the procedure given below.
1- open the web.config file of your application.
2- find ( SafeMode MaxControls=”200″ CallStack=”false”….) and assign “true” to the call stack attribute.
3- find (customErrors mode=”On” /)and assign “Off” to the mode attribute.
4- save your web.config
5- restart IIS.
6- F5 to reload your page.