Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

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

0.00/5 (No votes)
19 Jan 2010 1  
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

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.


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

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here