Rename ASPNETDB>MDF

  • Thread starter Thread starter Guest
  • Start date Start date
Dave said:
How can I rename the default ASPNETDB.MDF database when a login control is
used?

Hi,

the database that stores your membership data does not have to be named
ASPNET.MDF!

Just create your database and then go to
<%SystemRoot%>\Microsoft.net\Framework\<ASP.NET_Version> and run the command
"aspnet_regsql.exe". Select your database and the tables needed for
membership management are added to that database. IIRC the database has to
be registered in your SQLServer (or SQLExpress) to create the tables with
aspnet_regsql.exe.

Ciao,
Ralf
 
Back
Top