パッケージのインストールによってターゲット環境へSitecoreユーザー アカウントを移行した場合に、パッケージのインストールが正常に終了したにも関わらず、ユーザー アカウントが完全に移行されない可能性があります。 この問題は、インストーラーが新しいパスワードを生成するためのパスワードの制限事項を遵守しないために発生します。問題が発生すると、次のようなエラーがログに記録されます:
ManagedPoolThread #15 10:36:28 ERROR Failed to install the user 'sitecore\your_user'
Exception: System.Web.Security.MembershipCreateUserException
Message: The password supplied is invalid. Passwords must conform to the password strength requirements configured for the default provider.
Source: System.Web
at System.Web.Security.Membership.CreateUser(String username, String password, String email)
at Sitecore.Security.Accounts.User.Create(String userName, String password)
at Sitecore.Install.Security.AccountInstaller.InstallUser(PackageEntry entry)
ユーザー アカウントを移行するには、次のいずれかのオプションを検討してください:
<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="security" applicationName="sitecore" minRequiredPasswordLength="10" minRequiredNonalphanumericCharacters="1" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" />
変更後:
<add name="sql" type="System.Web.Security.SqlMembershipProvider" connectionStringName="security" applicationName="sitecore" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" />