November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
I managed to create a couple of users signing in with the WindowsMembershipProvider but I cant log in with any of them. Any idea what could be causing this?
- Sune
By default EPiServer is installed using the Windows Membership and Role Provider. This means that your local administrator account will be able to log in to EPiServer. In order to create more users you either need to create windows users assigned to the Administrator role, but the most convenient is to change the default provider to use with EPiServer. This change is done in web.config. See http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-5/EPiServer-CMS-5-R2-SP2/Authentication-and-Authorization-in-EPiServer-CMS-5/ for more information.
I have currently set the defaultProvider to MultiplexingRoleProvider:
<roleManager enabled="true" defaultProvider="MultiplexingRoleProvider" cacheRolesInCookie="true">
shouldnt I theoretically be able to log in with my created users?
- Sune
btw I also tried to set it to <roleManager enabled="true" defaultProvider="SqlServerRoleProvider" cacheRolesInCookie="true"> that didnt change anything except I couldnt log in with my default administrator account.
In addition to having a user (with any provider) you need to specify that certain "groups" have access to Edit mode (and admin mode). This is done in web.config where you have <location path> for edit and admin and other parts of EPiServer. Allow roles are by default set to administrators (the reason why your local windows user can log in) and 2 groups called WebEditors and WebAdmins. If you create these 2 groups in Admin mode and add the created users I believe you should be able to log in.
Hi I just installed episerver 5.2 on our remote server. How do I create a user to log in to the system?
- Sune