In visual studio there is a nice possibility to manage users and memberships for an ASP.NET site. I moved the membership data from SQLEXPRESS to a normal SQL server. The website works fine, however how do i now manage my users/profiles/etc… like I was used to in visual studio? Is it possible to tell vs2010 to ‘look’ into the new sql server database in stead of the apsnetdb.mdf file?
Thanks,
Erik
This is how I do it:
In your web.config file, under the connectionStrings section, name your connection string,
LocalSqlServer, i.e.Your role and membership providers, if have the
connectionStringNameset, change them toLocalSqlServerotherwise, the default providers “should” automatically refer toLocalSqlServeranyway.In VS2010, I then simply go to Project > ASP.NET Configuration which will start the tool to manage users, roles etc.
HTH