aspnetdb
-
-
When I change the aspnetdb.mdf to XXXYYY.mdf in the app_data and in the web.config and try to connect using a user name and pass word I can’t access. What should I do to rename the aspnetdb.mdf database and can access secure locations. Thanks thanks
Is this the database you use for the membership roles etc. You will need to find out where the orignal connection string is and change this if its possible. Personally Ive never tried.
Deliver yesterday, code today, think tomorrow. "http://www.heuse.com/cphumor.htm"
-
When I change the aspnetdb.mdf to XXXYYY.mdf in the app_data and in the web.config and try to connect using a user name and pass word I can’t access. What should I do to rename the aspnetdb.mdf database and can access secure locations. Thanks thanks
did you check the connection string ?
cheers, Abhijit Read My Latest Article : Exploring Caching In Asp.net
-
When I change the aspnetdb.mdf to XXXYYY.mdf in the app_data and in the web.config and try to connect using a user name and pass word I can’t access. What should I do to rename the aspnetdb.mdf database and can access secure locations. Thanks thanks
Add this to your web config
<connectionStrings>
<clear />
<add name="LocalSqlServer" connectionString="your connection string"
providerName="System.Data.SqlClient" />
</connectionStrings>Notice that name=LocalSqlServer, it must be left with that name if you want to use the membership provider with default values
Alexei Rodriguez
-
Add this to your web config
<connectionStrings>
<clear />
<add name="LocalSqlServer" connectionString="your connection string"
providerName="System.Data.SqlClient" />
</connectionStrings>Notice that name=LocalSqlServer, it must be left with that name if you want to use the membership provider with default values
Alexei Rodriguez