Messages d'erreur

Petit truc facile pour avoir le message d'erreur complet de .NET lorsque qqch ne marche pas dans Sharepoint au lieu de la page "Erreur" qui ne dit rien :


 * On the web server, navigate to the site directory (probably something like: C:\Inetpub\wwwroot\wss\VirtualDirectories\80 )
 * Open the Web.Config file in Notepad
 * Search for the safemode node with the word "CallStack" and change the CallStack status to true

&lt;SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false"&gt;


 * Search for the CustomErrors node and set the mode to Off

&lt;customErrors mode="Off" /&gt;


 * Search for the Compilation node and set the debug to true

&lt;compilation batch="false" debug="true"&gt;
 * Save and close.

Références
http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?List=90bbfd11%2Dc9a5%2D45cf%2Da77e%2D19559aae81ae&ID=14