I upgraded our EPiServer CMS and Commerce Manager to the latest version. Current EPiServer Commerce Framework version: 8.16 (build: 1)After that I cannot open Commerce manager. When I specified credentials and clicked "Log In" I obtained an error.Before the update, I used the same user for Commerce Manager and everything worked well.
Has anyone encountered a similar issue?
Have you Checked the modules path in web.config?
It looks like you have one or more unsual PermissionType. Can you check the tblUserPermission table in CMS database to see if there is any permissions assign to your role (assummingly Administator) which has special characters?
I have only one role in this table
My EPiServer Shell section from web.config
<publicModules rootPath="~/modules/" autoDiscovery="Minimal"/>
Did you get the migration steps run succesfully?
Refer to this thread for more information: http://world.episerver.com/forum/developer-forum/EPiServer-Commerce/Thread-Container/2015/8/access-denied-to-cm-after-upgrade/
Oh wow! Thank you!
I have 8 not completed migration steps. I will let you know when they are completed.
I have completed all migration steps. Now I have Access Denied to CM issue.My new user permission table
And role manager looks like you recomended.
<roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="CMSRoleProvider">
<add connectionStringName="EcfSqlConnection" applicationName="MyCommerce" name="CMSRoleProvider"
Good - the only step missing is to restart CM clear the cache :)
I still cannot login. I've restarted and cleaned everything around me.
When I authorize my user successfully transferred to the default page. But the next request I have a user whose roles is not loaded.
HttpContext.Current.User[.m_roles] is empty
I checked out the manager role, it works fine.
Roles.GetRolesForUser("admin") returns ["Administrators", "WebAdmins", "WebEditors"]