Wednesday, August 5, 2009

SharePoint: How to debug event handlers - didierdanse.net - Development News

SharePoint: How to debug event handlers - didierdanse.net - Development News: "If you are using Microsoft Office SharePoint Server 2007, you can directly write information in these logs. You have to add a reference to Microsoft.Office.Server.dll DLL located in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI\ folder. Then, in your code, add the following instruction: Microsoft.Office.Server.Diagnostics.PortalLog.LogString(“your text”);"

0 comments: