Tips & Tricks: Debug custom MembershipProvider

Problems with debugging your custom MembershipProvider when trying to access it through theĀ “ASP.Net Web Application Administration” website?

Here is how to do it:

In VS2010, goto “Debug”->”Attach to process” and select WebDev.WebServer40.exe from the list, click “Attach”. Now your debugger is attached to the ASP.NET WAA website. Be patient, the loading of the necessary debug symbols can take some time while accessing the webpage.

Also make sure that you do a clean rebuild if your membershipprovider is part of a different assembly so the ASP.NET WAA website is using the latest version of your build.

Comments are closed.