Migrate existing users std asp.net membership app

Posted by Community Admin on 03-Aug-2018 22:40

Migrate existing users std asp.net membership app

All Replies

Posted by Community Admin on 20-Jul-2011 00:00

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,

Posted by Community Admin on 25-Jul-2011 00:00

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

Posted by Community Admin on 01-Aug-2011 00:00

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"?

Posted by Community Admin on 01-Aug-2011 00:00

This does seem a bit much. Is there no migration tool to migrate users from an existing db using asp.net membership into sitefinity?

Posted by Community Admin on 02-Aug-2011 00:00

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

This thread is closed