Login issue in SharePoint 2016 site (Windows Authentication)

Sachin Soni 21 Reputation points
2021-10-25T07:47:04.423+00:00

Dear Experts,

SharePoint Version : 2016
Windows Version : 2019

I am facing issue while try to login in SharePoint Site. When I try to open sharepoint application, authentication selection page for (windows and Forms) open fine, but when i select windows authentication then suddenly below error has occurred.

143393-dcerror.jpg

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,238 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,948 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,694 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,822 questions
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,321 Reputation points
    2021-10-26T07:32:19.333+00:00

    Hi @Sachin Soni ,

    Here is a similar issue [Operation is not valid due to the current state of the object, when I select a dropdown list duplicate.

    Issue happens because Microsoft Security Update MS11-100 limits number of keys in Forms collection during HTTP POST request. To alleviate this problem you need to increase that number.

    This can be done in your application Web.Config in the <appSettings> section (create the section directly under <configuration> if it doesn’t exist). Add 2 lines similar to the lines below to the section:

    <add key="aspnet:MaxHttpCollectionKeys" value="2000" />  
    <add key="aspnet:MaxJsonDeserializerMembers" value="2000" />  
    

    The above example set the limit to 2000 keys. This will lift the limitation and the error should go away.
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful