65.9K
CodeProject is changing. Read more.
Home

Web.Config Update Microsoft.ReportViewer.WebForms, Version=9.0.0.0

starIconstarIconstarIconstarIconstarIcon

5.00/5 (1 vote)

Oct 11, 2013

CPOL
viewsIcon

31565

Web.Config Convert WebFroms verison 8.0.0.0 to WebFroms verison 9.0.0.0 toSolution of 1) Close VS2) Delete all of Temporary Asp files on :(Window


Web.Config Convert WebFroms verison 8.0.0.0 to WebFroms verison 9.0.0.0 to

Solution of

1) Close VS
2) Delete all of Temporary Asp files on :(Window install path ) C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files


3) Put these line of code to your web.config file
    <add assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

4) you also should comment your previous assembly version on <asssembly> section like :

<!--<add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>-->
<!--<add assembly="Microsoft.Reporting.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>-->

5) put this line of code to your web.config file under <httpHandlers>

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

6) and comment your pervious  version like
<!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
-->


this will work