Could the problem be that the Windows-passwords of the users were changed, but that the password of the SQL-users weren't updated?
Config-settings:
<roleManager enabled="true" defaultProvider="MultiplexingMembershipProvider" cacheRolesInCookie="true">
<providers>
<clear />
<!-- Comment the following lines when running on oracle. -->
<add name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer" provider1="WindowsRoleProvider" provider2="SqlServerRoleProvider" providerMap1="WindowsMembershipProvider" providerMap2="SqlServerMembershipProvider" />
<!-- comment when running on oracle -->
<!-- Uncomment the following lines when running on oracle. -->
<!--<add provider1="OracleRoleProvider" provider2="WindowsRoleProvider"
providerMap1="OracleMembershipProvider" providerMap2="WindowsMembershipProvider"
name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer" />-->
<!--Uncomment the lines above running oracle-->
<add name="WindowsRoleProvider" applicationName="EPiServerSample" type="EPiServer.Security.WindowsRoleProvider, EPiServer" />
<add name="SqlServerRoleProvider" connectionStringName="EPiServerDB" applicationName="EPiServerSample" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add name="ActiveDirectoryRoleProvider"
type="EPiServer.Security.ActiveDirectoryRoleProvider, EPiServer"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="DOMAIN\ADServiceAccount"
connectionPassword="password"
attributeMapUsername="sAMAccountName" />-->
</providers>
</roleManager>
<membership defaultProvider="MultiplexingMembershipProvider" userIsOnlineTimeWindow="10">
<providers>
<clear />
<!-- Comment the following lines when running on oracle. -->
<add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" provider1="WindowsMembershipProvider" provider2="SqlServerMembershipProvider" />
<!-- comment the lines above when running on oracle -->
<!-- Uncomment the following lines when running on oracle. -->
<!--<add provider1="OracleMembershipProvider" provider2="WindowsMembershipProvider"
name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" />-->
<!--Uncomment the lines above running oracle-->
<add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer" deletePrefix="BUILTIN\,komm\, KOMM\" searchByEmail="true" />
<add name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
<!--<add name="ActiveDirectoryMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="DOMAIN\ADServiceAccount"
connectionPassword="password"
enableSearchMethods="true"
attributeMapUsername="sAMAccountName" />-->
</providers>
</membership>
Solved when I configured it like this:
<roleManager enabled="true" defaultProvider="WindowsRoleProvider" cacheRolesInCookie="true">
<providers>
<clear />
<!-- Comment the following lines when running on oracle. -->
<add name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer" provider1="SqlServerRoleProvider" provider2="WindowsRoleProvider" providerMap1="SqlServerMembershipProvider" providerMap2="WindowsMembershipProvider" />
<!-- comment when running on oracle -->
<!-- Uncomment the following lines when running on oracle. -->
<!--<add provider1="OracleRoleProvider" provider2="WindowsRoleProvider"
providerMap1="OracleMembershipProvider" providerMap2="WindowsMembershipProvider"
name="MultiplexingRoleProvider" type="EPiServer.Security.MultiplexingRoleProvider, EPiServer" />-->
<!--Uncomment the lines above running oracle-->
<add name="WindowsRoleProvider" applicationName="EPiServerSample" type="EPiServer.Security.WindowsRoleProvider, EPiServer" />
<add name="SqlServerRoleProvider" connectionStringName="EPiServerDB" applicationName="EPiServerSample" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add name="ActiveDirectoryRoleProvider"
type="EPiServer.Security.ActiveDirectoryRoleProvider, EPiServer"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="DOMAIN\ADServiceAccount"
connectionPassword="password"
attributeMapUsername="sAMAccountName" />-->
</providers>
</roleManager>
<membership defaultProvider="WindowsMembershipProvider" userIsOnlineTimeWindow="10">
<providers>
<clear />
<!-- Comment the following lines when running on oracle. -->
<add name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" provider1="SqlServerMembershipProvider" provider2="WindowsMembershipProvider" />
<!-- comment the lines above when running on oracle -->
<!-- Uncomment the following lines when running on oracle. -->
<!--<add provider1="OracleMembershipProvider" provider2="WindowsMembershipProvider"
name="MultiplexingMembershipProvider" type="EPiServer.Security.MultiplexingMembershipProvider, EPiServer" />-->
<!--Uncomment the lines above running oracle-->
<add name="WindowsMembershipProvider" type="EPiServer.Security.WindowsMembershipProvider, EPiServer" deletePrefix="BUILTIN\" searchByEmail="true" />
<add name="SqlServerMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="EPiServerDB" requiresQuestionAndAnswer="false" applicationName="EPiServerSample" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" />
<!--<add name="ActiveDirectoryMembershipProvider"
type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="DOMAIN\ADServiceAccount"
connectionPassword="password"
enableSearchMethods="true"
attributeMapUsername="sAMAccountName" />-->
</providers>
</membership>
Suddenly no one could log in to the website to a EPiServer-website my company is working with.
Recently it was upgraded from EPiServer CMS 6 to CMS 6 R2, but it still was possible to login subsequently to this.
In EpiServer when searching for users: I see that each user name is mapped to a Windows-user and a SQL-user (Was this created automatically?).
The difference is that the Windows-user is prefixed with a group-name, e.g. username: komm\rohaning.
The login does not support login using the group-prefix, so when a user tries to log in it defaults to the SQL-account and the login fails (the SQL-account is apparently not mapped to the same password).
When deleting the SQL-account for a user it all works.
How do in a smooth way configure so that the Windows-account will be used per default?
Thanks!