Share via


SharePoint 2010: Session state has been disabled for ASP.NET. The Report Viewer control requires that session state be enabled in local mode.

After I created a Report and then tried to add the report in SharePoint Report viewer web part, this page may be shown with the following error: "**Session state has been disabled for ASP.NET.  **

The Report Viewer control requires that session state be enabled in local mode".

To resolve this error open the Sharepoint PowerShell as administrator and run the following command  "Enable-SPSessionStateService -Defaultprovision ".

It worked for me; hope it will help you too!