I've just upgraded from 2008 to 2010 on my dev machine. Running the app gave me an error indicating I needed to change the version number from 9.0.0.0 to 10.0.0.0 in web.config in the following locations:
<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" />
I assume what has happened is that installed VS2010 has updated the GAC with version 10 of this component.
Problem is, when I publish the app to the live server, the app is broken precisely because it doesn't have version 10.0.0.0.
What is the quickest way to resolve this problem? I'm thinking there must be a way to either:
1) Update the GAC on the server with the latest version of the assembly (but what might that break?) 2) 'Undo' the change to the GAC on my dev machine to use 9.0.0.0 instead.
Or is there another option? Can anyone provide some advice on how to overcome this?