During
the developing of a custom field, I faced some errors, but the didn't
work.
After some search, it seems that you have to do this trick on three locations. SharePoint 2010 has web.config files on the following locations:
Change customerrors to:
http://msdn.microsoft.com/en-us/library/ee231550.aspx
After some search, it seems that you have to do this trick on three locations. SharePoint 2010 has web.config files on the following locations:
- C:\inetpub\wwwroot\wss\VirtualDirectories\80\
- C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\
- C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
Change customerrors to:
and the SaveMode tag (if available) to:<customErrors mode="Off" />
<SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="true">as well as the compilation tag to:
<compilation batch="false" debug="true" optimizeCompilations="true">
http://msdn.microsoft.com/en-us/library/ee231550.aspx
How to Turn Off SharePoint Custom Error Message and Display Stack and Page Output Trace |
SharePoint 2010 Custom Errors Change 3 Web.config files |
No comments:
Post a Comment