Click here to Skip to main content
15,509,585 members
Articles / Programming Languages / ASP
Article
Posted 11 Oct 2013

Stats

28.9K views
2 bookmarked

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

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
11 Oct 2013CPOL
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
The ASP.NET Wiki was started by Scott Hanselman in February of 2008. The idea is that folks spend a lot of time trolling the blogs, googlinglive-searching for answers to common "How To" questions. There's piles of fantastic community-created and MSFT-created content out there, but if it's not found by a search engine and the right combination of keywords, it's often lost.

The ASP.NET Wiki articles moved to CodeProject in October 2013 and will live on, loved, protected and updated by the community.
This is a Collaborative Group

757 members

Comments and Discussions

 
QuestionConcise and to the point Pin
Carl_Sharman1-May-14 2:09
Carl_Sharman1-May-14 2:09 
This works just as well for upgrades from 9 to 10. Thanks for this.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.