Unable To Login To Sitecore 10 Via The Identity Server

Trouble Logging In To Sitecore?

If you've installed the latest Sitecore 10 and are seeing some unusual behaviour when it comes to logging into Sitecore Experience Platform, you're not alone.

The most obvious symptom something is up is when you try and login, and rather than redirecting to Identity Server, it goes to https://<sc10-name>.dev.local/sitecore/login. Hitting the Sitecore Identity Server directly, like so, https://<sc10-name>, results in a 500 error. So how's that possible, especially when you've installed all pre-requisites and you're basically looking at a fresh installation?

Check The Event Viewer

Might seem odd, but when it comes to the Sitecore Identity Server, you're more likely to spot an issue in the Application logs in the Event Viewer rather than the log files. If the service isn't running, we won't find the error in the Identity Server log files. A keen eye might spot something like the following in the Application logs in the Event Viewer whenever you try and restart the Identity Server in IIS.

Screenshot of the Event Viewer when troubleshooting your Sitecore login

Now the path may be different, depending on where you've installed it, but what's most important is the command line to start Sitecore Identity Server. Best way to find out what is wrong is to try and run it manually.

Open up the Command Prompt and navigate to the root of of the Identity Server. If you're on a Standalone install it's likely something similar to: c:\inetpub\wwwroot\

Once there, run: dotnet .\Sitecore.IdentityServer.Host.dll

If the problem you're having is the one we're talking about, you may see is that that resembles: It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '2.1.16' was not found.

So, How Do You Solve It?

It's simple. Head on over to .Net Core 2.1 and download the SDK.

Once installed, open up the Command Prompt and run dotnet .\Sitecore.IdentityServer.Host.dll again. You should now see something closer to a proper installation.

Screenshot of the Command Prompt when troubleshooting Sitecore login

Try to login to Sitecore and this time you should see it redirect to the Identity Server properly. Once verified, you can close down your Command Prompt and start the service properly through the IIS Server.

👋 Hey Sitecore Enthusiasts!

Sign up to our bi-weekly newsletter for a bite-sized curation of valuable insight from the Sitecore community.

What’s in it for you?

  • Stay up-to-date with the latest Sitecore news
  • New to Sitecore? Learn tips and tricks to help you navigate this powerful tool
  • Sitecore pro? Expand your skill set and discover troubleshooting tips
  • Browse open careers and opportunities
  • Get a chance to be featured in upcoming editions
  • Learn our secret handshake
  • And more!
Sitecore Snack a newsletter by Fishtank Consulting

Meet David Austin

Development Team Lead | Sitecore Technology MVP x 3


David is a decorated Development Team Lead with Sitecore Technology MVP and Coveo MVP awards, as well as Sitecore CDP & Personalize Certified. He's worked in IT for 25 years; everything ranging from Developer to Business Analyst to Group Lead helping manage everything from Intranet and Internet sites to facility management and application support. David is a dedicated family man who loves to spend time with his girls. He's also an avid photographer and loves to explore new places.

Connect with David