hosting an app that has membership tables and sprocs in the database

Last post 01-28-2008 10:59 PM by Bruce L. 1 replies.

Sort Posts:

  • hosting an app that has membership tables and sprocs in the database

    01-28-2008, 1:20 PM
    • Loading...
    • rcanand
    • Joined on 11-08-2007, 11:29 AM
    • Posts 71

     What is the right way to publish a web site that uses a SQL Server 2005 database, including asp .net membership tables and sprocs generated using the asp .net regsql tool? Should we use SQL server 2005 publishing wizard to export the schema and data? Is there any other setting that is required to mimic all that the aspnet regsql tool does?

     

    Thanks

    Anand 

  • Re: hosting an app that has membership tables and sprocs in the database

    01-28-2008, 10:59 PM
    Answer
    • Loading...
    • Bruce L
    • Joined on 02-08-2007, 1:53 PM
    • Posts 1,043

    There are several ways to do this

    1) Detach the aspnetDB from your computer and attach it to the remote SQL server

    2) Use aspnet_regsql tool to recreate the asp.net membership schema directly on the server.

    3) Script the database on your local computer and then execute the script on the remote server.

    If you do not have a lot of users setup, I find it easiest to just create a blank membership

    Bruce
    DiscountASP.NET: Developer Ready ASP.NET Web Hosting
    - Microsoft Gold Certified Partner
    - Voted 2008, 2007, 2006 & 2005 Best ASP.NET Web Hosting by asp.netPRO Magazine
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter