Configuration Error

Jing Carcedo asked on January 12, 2021 06:59

My site suddenly got an error without anyone touching its files. I wanted to know how to fix this error. Thanks in advance.

Server Error in '/' Application.

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: ...\htdocs\web.config Line: 103

Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8951

Recent Answers


Juraj Ondrus answered on January 12, 2021 07:33

What version and hotfix of Kentico are you using? It looks like your IIS is set to use .Net 2.0 still. So I assume it is some old version. Also, the error is on Microsoft .Net framework library - were there any recent updates to the web server itself? I would temporary enable detailed error/debug mode to see more detailed error message and it could give you more hints what went wrong.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on January 12, 2021 13:29

Do you have a non production environment with the same issue?

If you have them Perhaps try a backup of the dll files in the bin directory.

As Juraj mentioned could well be a Windows update or such.

// On a side note; I found your site and would recommend you have a look at it's security configurations...

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.