In this tutorial, you will learn how to fix the
The Trust Relationship Between The Primary Domain And The Trusted Domain Failed error when trying to log into your Episerver CMS powered website. After installing the Alloy tech demo site, I've run into this error a few times on my first install when trying to log into the editor:>
Here are a few tips that should help you to fix it:
- Make sure you are using the right user-name and password. I have found that when I'm using my Windows account and there are no Episerver users added to the database, typing in a wrong username and password combo will cause this error.
- In the
web.config, switch the site to only use Windows Authentication rather than
SqlServerRoleProvider. To set this mode, in the
web.config, go to the 'roleManager' section. Change the role and membership provider to use the Windows versions, as below:
Reload the editor and everything should be fixed.
To make sure you don't get the error again.. create an Episerver admin account and change the settings within
web.config back to how they were.
From my experiences, one of these paths has always fixed the issues. Happy Coding 🤘