1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Migrate existing users std asp.net membership app

Migrate existing users std asp.net membership app

5 posts, 0 answered
  1. Doug
    Doug avatar
    34 posts
    Registered:
    20 Sep 2010
    20 Jul 2011
    Link to this post
    My team and I are looking at Sitefinity. We are using a standard asp.net membership app and am wondering how to migrate our existing users to the sitefinity database. Is the password and password salt algorithms that are used the same? What I mean is, if I were to copy a user from membership to sitefinity and copy their password and password salt into the sf_users table would that be enough? I just tried that and it looks like I can't. What I did as a simple test was manually created a new user lets call him 'picardalpha1' and then manually copied an existing test users', from my local database, password and password salt into the 'picardalpha1' users record. That didn't work.

    Any documentation or links, or thoughts about how to do this would be great.

    Thanks,
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    25 Jul 2011
    Link to this post
    Hello Doug,

    It will be easier and faster to create a custom membership provider which will allow you to use your current db. Please follow these links, which contain valuable information:

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/sdk/custom-membership-and-role-providers.aspx

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/simple-example-with-custom-membership-provider.aspx

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/sdk/extending-membership-provider.aspx

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/mulitple-membership-providers.aspx

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/developing-with-sitefinity/how-to-setup-customer-membership-role-provider.aspx

    http://www.milestre.nl/English/News/Latestnews/CustomMembershipAndRoleProvider.aspx

    All the best,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Doug
    Doug avatar
    34 posts
    Registered:
    20 Sep 2010
    01 Aug 2011
    Link to this post
    So then in the membership tag in the web.config, do I add another item to the providers tag or should I delete the default one that is there, the one of type "Telerik.Sitefinity.Security.Data.SitefinityMembershipProvider"?
  4. Doug
    Doug avatar
    34 posts
    Registered:
    20 Sep 2010
    01 Aug 2011
    Link to this post
    This does seem a bit much. Is there no migration tool to migrate users from an existing db using asp.net membership into sitefinity?
  5. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    02 Aug 2011
    Link to this post
    Hi Doug,

    We do not have such tool out of the box. However it is not completely necessary to create new custom membership provider to implement your current one in Sitefinity. Please refer to the following blog post:

    http://www.sitefinity.com/blogs/slavoingilizov/posts/11-04-20/using_the_asp_net_sql_membership_provider_in_sitefinity.aspx

    Basically you have to register it in the webconfig and it will appear in the UI with a list of the users.

    Kind regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered