Microsoft Technology, .Net, BizTalk, Sharepoint & etc.

Liedong(Ken) Zheng, Senior SharePoint Developer at SIMPLOT

How to debug an eventhandler in sharepoint 2007

Posted by ken zheng on March 22, 2008

  1. put the evt hndlr in the bin folder in the IIS virtual folder that hosts your sharepoint application
  2. in visual studio (with the project open) click “debug” -> “Processes” and select the “w3wp.exe” process (may be more than one – select them all) and hit ok. when asked, select the “managedd code” option only (not script and sql)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>