Rename ASPNETDB>MDF

M

Masudur

R

Ralf Kaiser

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top