Loading...

INTERNAL: “Session state can only be used when enableSessionState …”

Title

INTERNAL: “Session state can only be used when enableSessionState …”

Description

INTERNAL: “Session state can only be used when enableSessionState …”

Please wait...

After installing QuickApps, we can no longer browse the SharePoint sites and receive a Correlation ID error. Checking the ID in the ULS logs, the following error is thrown:

"Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration. "

Cause

In the web.config of the Web Application being used, there is an additional line entry for <sessionstate ...> that must be removed.

Resolution

WORKAROUND:

  1. Create a backup of web.config
  2. Remove the additional entry <sessionstate ...> and save the config 
  3. Perform an IISRESET

Defect ID

In the web.config of the Web Application being used, there is an additional line entry for <sessionstate ...> that must be removed.

Leave a Reply