Reputation: 8889
I am getting this
error : 403 - Forbidden: Access is denied.
While I trying to login to admin panel of kentico 10 using any users in the database.
I was synchronising the pages using staging module, after synchronising this issue appears.
Looks like none have editor access which is the minimum privilege level.
I tried to alter DB but that tool not worked.
How to solve this issues?
Upvotes: 0
Views: 1495
Reputation: 111
If the source instance was upgraded from version 9 to version 10 while there were some user object synchronization tasks pending, synchronizing them after upgrade very likely caused corruption on your target instance. This scenario is illegal, all synchronization tasks have to be synced to the target before upgrading or discarded as mentioned in documentation:
https://docs.kentico.com/k10/installation/upgrading-to-kentico-10
I would try to run complete synchronization from the source for all users objects and if this does not fix your target instance you will have to roll it back/install fresh target and make sure you won't sync any old (v9) tasks to the target (v10). Generally staging is supported only between two instances of same major and minor version.
Upvotes: 0
Reputation: 1437
If you have access to the server itself, you may need to do an emergency password reset.
In the web.config, under the AppKeys, place this:
Of course replacing "admin" with the username, "password" with the new password, and the "true" is simply stating this user will have global admin privileges.
The key will auto delete after the site recycles, once you have a global admin user you can set user permissions properly.
Upvotes: 1
Reputation: 1442
If the users on both the system are same then you could modify the users' object from your origin server and make sure they have minimum required access level and then sync these users using staging module.
After that you should be able to access the admin using one of the intended user on the target server.
Upvotes: 0