Rename ASPNETDB>MDF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I rename the default ASPNETDB.MDF database when a login control is
used?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top