Friday, June 29, 2012

How to Configure the ReportViewer in Sharepoint 2010

Follow The below Steps...

1. Navigate the c:\inetpub\wwwroot\VirtualDirectories\[Your port Number]
2. Make a backup copy of web.config
3. Open web.config in some text editor , may be notepad
    Look for following tag , ensure enableSessionState="true" 

   <pages asynctimeout="7" enablesessionstate="true" enableviewstate="true" enableviewstatemac="true"        pageparserfiltertype="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" validaterequest="false"> 

4. Look for <httpmodules> tag and add below statement as last child node ( if not there already )

<add name="Session" type="System.Web.SessionState.SessionStateModule">

5. Look for this tag below and update version to 

<add name="ReportViewerWebControl" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

6. Look for <appsettings> and comment the entry with name=ReportViewerMessages

No comments:

Post a Comment