The base class includes the field 'reportViewer', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer).

by Phil Adams 24. November 2010 00:51

Ok, Today i had this error with one of our client servers, now this is a new install then immediately patched to Update Rollup 12.
When trying to run any report you get the error:

 "The base class includes the field 'reportViewer', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer)."

Screenshot:

So after a bit of research found that the Report Webviewer was updated from 2005 to 2008, but if the web.config has been modified the rollup doesn't upgrade the web.config file, well now this is strange as this was a fresh install and a straight upgrade.........

well after a bit of digging around the update files i found the entries that needed to be updated(see below), so updated these and voila!!!

Please change the entries in your web.config at the root of your CRM site

Under the HttpHandlers Section find:
Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
And replace with:
Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

Under the Assemblies Section find:
Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
And replace with:
Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a


Hope this helps others.
Phil

Tags: , , ,

CRM | MSCRM | mscrm4 | SSRS

Comments (5) -

Raviv Israel
12/18/2010 7:32:28 PM #

Hi Phil,

Thanks for that post you have helped me big time with that.

Reply

Mário Portugal
4/4/2011 5:57:49 PM #

Hi Phil,

Great find! Thanks for sharing it.

Reply

Trevor Spink United Kingdom
7/20/2011 9:16:46 AM #

Cheers thanks a lot that did the trick

Reply

Klaas Netherlands
7/27/2011 3:20:37 PM #

Hi Phil,

Thanks for sharing this!

Reply

Hmoodang Thailand
8/12/2011 5:27:53 PM #

cool man.... It's work

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About Phil

Phil has been working with CRM since the BETA of CRM v1.0 and has seen a lot of the problems arising from installation, maintenance and Development.

Phil specializes in the ISV area of CRM; Creating Add-Ons and Plugins for various clients.

Phil currently works as a Microsoft Dynamics CRM Consultant and Developer for Cambridge Online Systems Ltd In the UK.

Phil also has several Microsoft Certifications in .NET and CRM

Month List

RecentComments

Comment RSS