Creation of my first site using the login / membership system introduced in ASP.NET (v4).
So far so good, use web.config to point it to the remote SQL server and it works.
What I did not do initially was to specify the "application name" for the membership provider, so when viewing tables on the SQL server it appears as "/".
I updated the web.config file and added the Membership and Provider sections necessary to assign the name assigned to it and ran the ASP.NET configuration wizard to reinitialize the user database.
In the SQL server, the application now displays its name and new GUID and works as expected.
My question is, is there an automated way to get rid of all (now unnecessary) records associated with the "old site" from various ASP.NET SQL tables, or am I forcing it to be done manually?
If I need to do this manually, does anyone know about the laid out set of procedures so that all links are deleted from the database?
source
share