MS aspnet database

Discussion in 'Databases' started by JohnHadj, Apr 27, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Is it possible to use the aspnet database on DASP for role-based security via the MS login controls? If not, is there another way of using those controls?

    Thanks
    John
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for the information, Bruce.

    Before I try it, does this create a second database that is separately chargable? Ie is there any furcher cost to using it?

    John
     
  4. "aspnet_regsql.exe -S DBServerName -U DBLogin -P DBPassword -A all -d DBName" mentioned in the article allows you to specify a target database for the ASP.NET membership / role / profile tables and stored procs which means you can use a single database for both this and your own application related db schema entities without incurring any costs for an additional db.

    BTW the same applies if you wanted to use SQL Server to store session state.
     
  5. You really can't use the 'aspnet_regsql.exe' method to create the SQL Session Schema. For one thing it will only create the session schema for .Net 2.0 and not .Net 1.1. Second you'll encounter some permission issue. The 'aspnet_regsql.exe' we put up on the KB is for creating the schema for ASP.Net 2.0 Membership/Roles provider.
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    the aspnet_regsql.exe command allows you to specify which database you want to exec the script. In most cases, you can install the membership database to your existing application database without any problem. All you need to do is to run aspnet_regsql against your app database.
     
  7. Thanks, just what I need.

    John
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page