Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Unable to login to Sitefinity after installing Windows Update

« Go Back

Information

 
Article Number000082760
EnvironmentProduct: Sitefinity
Version: 10.x
OS: Windows 10, Windows Server 2016
Database: All supported Microsoft SQL Server versions
Question/Problem Description
Users are unable to login to Sitefinity.

Error when not able to log in
Steps to Reproduce
Clarifying Information
Enable the authentication logging to see the actual error in the ~/App_Data/Sitefinity/Logs/Authentication.log file.

1. Open the ~/App_Data/Sitefinity/Configuration/AuthenticationConfig.config file
2. Find the <identityServerSettings> element under the <securityTokenServiceSettings> element
3. Add the following attribute to the <identityServerSettings> element
 
enableLogging="True"

4. Restart the application
Error Message1. Unexpected error.

2. System.Security.Cryptography.CryptographicException: Invalid algorithm specified.
Defect/Enhancement Number
Cause
One of the following Windows Updates has been installed on the server:

KB4025342, July 11, 2017—KB4025342 (OS Build 15063.483) https://support.microsoft.com/help/4025342/windows-10-update-kb4025342
KB4025339, July 11, 2017—KB4025339 (OS Build 14393.1480) https://support.microsoft.com/help/4025339/windows-10-update-kb4025339
KB4025344, July 11, 2017—KB4025344 (OS Build 10586.1007) https://support.microsoft.com/help/4025344/windows-10-update-kb4025344
Resolution
1. Download and install .NET Framework 4.6.2 from Microsoft Download Center, Microsoft .NET Framework 4.6.2 (Offline Installer) for Windows 7 SP1, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2012 and Windows Server 2012 R2 https://www.microsoft.com/download/details.aspx?id=53344

2. For production environments use a custom certificate for IdentityServer signing by following the steps in Sitefinity Documentation, Authentication flow and certificates https://docs.sitefinity.com/authentication-flow-and-certificates#configure-certificates-for-your-site
Workaround
Switch to Claims authentication.

1. Open the ~/App_Data/Sitefinity/Configuration/AuthenticationConfig.config file
2. Add the following attribute to the <authenticationConfig> element
 
authenticationProtocol="SimpleWebToken"

3. Restart the application
Notes
Attachment 
Last Modified Date2/1/2018 4:41 PM