Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered

Problem:
After changing web application properties from SharePoint central administration site to support “anonymous access”, sites started giving this error message: Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered

Another component has already added an HTTPSessionState to the Context. Please make sure only one session state module should be registered

Solution:

Open Web.config file of the SharePoint web application, search for  “SessionStateModule”, make sure only one entry exists under sections such as <httpModules> and <modules>. Comment out any other additional entries!

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *