How do I migrate membership/role providers to Target server?

Discussion in 'ASP.NET 2.0' started by tcfpitts, Oct 19, 2005.

  1. Hi,
    I spent a lot of time researching in here in community forum and in google, yahoo etc.
    I never seem to have understood even after 10days of struggling. However, I have to
    admit I am novice to asp.net and asp.net 2

    I could test successfully user and role creations and login / logout on my local machine.
    But after I ftp to my designated server, I am at loss to understand how I should make
    the login work.

    What should be my connectionString in connectionStrings section, providers, Server, Catalog,
    UserId and password?

    Can someone help me?

    Thanks,
    tcfpitts
     
  2. It is strange that no one has given a definitive answer to this one. although the answer does exist partially in some of the posts.




    <connectionStrings>


    <remove name="LocalSqlServer" />



    <add name="LocalSqlServer" connectionString="user id=DB_149717_jcoder_user;data source=mssql19.discountasp.net;password=******"


    providerName="System.Data.SqlClient" />


    </connectionStrings>


    Add that using the "LocalSqlServer" but put your connection string in there.
    Then


    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\aspnet_regsql.exe



    follow the wizard


    Build a site from scratch as there are not values in the database for allthe Personal Website Starter Kit values.


    That shoulddo the trick.
     

Share This Page