In web.config change CustomErrors to Off and callstack to "true" (just search for these values)
views:
108answers:
4
+1
A:
Vladi Gubler
2010-08-04 11:28:27
actually this is what I did ... please read my question completely
ria
2010-08-04 13:06:24
If the error is in one of the Layouts pages, do the same to the web.config located under 14/template/layouts
Vladi Gubler
2010-08-04 13:23:23
@ria - if you had actually been clear in your question it may have helped us read it completely!!!
Ryan
2010-08-04 13:55:40
http://www.sharepointdevwiki.com/display/public/SharePoint+Development+Debugging
Ryan
2010-08-04 13:56:29
@Vladi: thank u so much ... ill just try and then let u know if it worked.@Ryan: thanks for ur comment, but actually I have received answers on this question that means that I was not totally unclear in explaining my query :) anyways thanks for your suggestion
ria
2010-08-05 04:51:21
@Vladi: Doing the same in TEMPLATE/LAYOUTS web.config didnt help either. Also note that this web.config didnt have the CallStack attribute as the whole <SharePoint> <SafeControl .. tag was missing.
ria
2010-08-05 05:20:11
+2
A:
Use the ULS logs. There is even a nice viewer for it too: http://code.msdn.microsoft.com/ULSViewer.
Doug Stalter
2010-08-04 14:58:37
ULS Viewer is a great tool and helps troubleshoot SharePoint issues pretty quickly.
Wallace Breza
2010-08-04 15:00:16
+1
A:
It is still possible to make changes to the web.config to get the regular asp.net yellow screen errors. Much like it is with a standard application, the first time you hit F5 in your SharePoint 2010 project, Visual Studio 2010 will prompt you if you want it to automatically configure the local web.config file for you.
However, in SharePoint 2010, the custom error page displays a GUID which can be used as a bookmark in the Log file. It makes searching the Log file much easier. But that GUID will not be displayed on the yellow screen error page, so you might want to take that into consideration before modifying the web.config.
Rich Bennema
2010-08-04 17:10:35