How to use the ASPNETDB database on the ASP.NET website

I created a website using asp.net 3.5.
Now I use Membership API and aspnetdb database to add member support.
I have All tests have been completed on the local machine.
Now, when uploading this site to the server, you need to consider the issue of aspnetdb. That is; how to provide this database on the server side?
Note: This is my first website.
I am just looking for the answer myself.

I found the following may be helpful to you:
http://www.studiocoast.com.au/knowledgebase/article-6-aspnet-using-sql-server-instead- of-aspnetdbmdf.aspx

“When developing applications in
ASP.NET 2.0, the default option for
roles and users is to use a local SQL
database in the App_Data directory.

This works fine locally, but will
bring up an error when uploaded to a
production server. To fix this the
ASP. NET membership information needs
to be stored in a dedicated SQL Server
database.”

“ASP.NET includes a program called
Aspnet_regsql.exe which you can run
locally to configure your database.
More information on the program can be
found here:

07001″

我Created a website using asp.net 3.5.
Now I use Membership API and aspnetdb database to add member support for it.
I have completed all the tests on my local machine.
Now , When uploading this site to the server, you need to consider aspnetdb The question. That is; how to provide this database on the server side?
Note: This is my first website.

I am just looking for the answer myself.

I found the following may be possible Will help you:
http://www.studiocoast.com.au/knowledgebase/article-6-aspnet-using-sql-server-instead-of-aspnetdbmdf.aspx

“When developing applications in
ASP.NET 2.0, the default option for
roles and users is to use a local SQL
database in the App_Data directory.

This works fine locally, but will
bring up an error when uploaded to a
production server. To fix this the
ASP.NET membership information needs
to be stored in a dedicated SQL Server
database.”

“ASP.NET includes a program called
Aspnet_regsql.exe which you can run
locally to configure your database.
More information on the program can be
found here:

07001″

Leave a Comment

Your email address will not be published.