Adding Members from v7.2.8 to v7.6.3 using CMS Import and MemberService
Hi
Im trying to migrate Members from one Umbraco Instance to a newer one.
Im hitting a problem when using CMS Import.
I can connect to the other Umbraco instance and it maps correctly to all the properties as far as I can see.
When the import runs, I get - Error during import, check the logfile for details
So looking in the Log Files I see lots of this:
System.NotSupportedException: This provider does not support manually changing the password
at Umbraco.Core.Security.MembershipProviderBase.ChangePassword(String username, String oldPassword, String newPassword)
at Umbraco.Core.Services.MemberService.SavePassword(IMember member, String password)
at CMSImport.MemberServiceImportProvider.MemberServiceImportProvider.(ImportState , Dictionary`2 , AdvancedSettingFieldOptions , String , ImportActions , IMember , PropertyInfo , Object , Boolean )
at CMSImport.MemberServiceImportProvider.MemberServiceImportProvider.ImportMembers(ImportState state, ImportStatistics importStatistics, Int32 importAsUserId)
2017-07-20 16:26:22,071 [P9116/D4/T168] ERROR CMSImport.MemberServiceImportProvider.MemberServiceImportProvider - CMSImport:CMSImport: A record failed to import for alias@@#Import_password
Is there a way around this? Is this something to do with copying the passwords to the new instance?
It says it can't change the password. Enable manual change password on the membership provider properties in web.config.
But Umbraco changed password format so the hashed password from the old instance will propably not work in the new instance. You can change this by setting enableSimpleMembership to true in web.config then it's all working like before.
Just a note for anyone stumbling upon this topic...
You WILL have a successful import of members (with hashed passwords) from one umbraco site to another if you do the following:
Make the web.config updates as specified above.
When setting up your Import, when you are on the step to map fields, click the + next to "password" and check the box to "Store password as clear text".
The second step will ensure that the hashes are copied between databases and not hashed again on import.
Adding Members from v7.2.8 to v7.6.3 using CMS Import and MemberService
Hi
Im trying to migrate Members from one Umbraco Instance to a newer one. Im hitting a problem when using CMS Import.
I can connect to the other Umbraco instance and it maps correctly to all the properties as far as I can see.
When the import runs, I get - Error during import, check the logfile for details
So looking in the Log Files I see lots of this:
Is there a way around this? Is this something to do with copying the passwords to the new instance?
Hi Neil,
It says it can't change the password. Enable manual change password on the membership provider properties in web.config.
But Umbraco changed password format so the hashed password from the old instance will propably not work in the new instance. You can change this by setting enableSimpleMembership to true in web.config then it's all working like before.
Best,
Richard
HI Richard
Thanks for getting back to me so quickly.
Ive changed the settings within the web.config.
However when i change:
I get a Configuration Error (See screenshot below) Am I missing another setting somewhere?
Weird Neil,
Maybe check on the issue tracker of Umbraco if this is a known issue..
Best,
Richard
Just a note for anyone stumbling upon this topic...
You WILL have a successful import of members (with hashed passwords) from one umbraco site to another if you do the following:
The second step will ensure that the hashes are copied between databases and not hashed again on import.
is working on a reply...