Article

Unable to login to Sitefinity after installing Windows Update

« Go Back

Information

 
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
Disclaimer

The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.



Feedback
 
Was this article helpful?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful.



Characters Remaining: 255