This is a migrated thread and some comments may be shown as answers.

Problem with report viewer version

1 Answer 405 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 03 Feb 2012, 04:30 AM

Hi,

I had previously installed a trial version of the reporting module.  I purchased, downloaded and installed the package.  I moved the new dll's over to my bin directory and modified the web.config httphandlers with the new dll's version which is 5.3.12.131.  When I try to open the reports through the web app, I get the following error:

Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=5.3.11.1116, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

For some reason is looking for version Version=5.3.11.1116 instead of 5.3.12.131.  Just in case for some odd reason the dll was being loaded from the GAC I double check windows assemblies and the new telerik dll's with version  5.3.12.131 are registered there too. 

Here is what I have in my web.config to define the httphandlers:

<handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=5.3.12.131, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode" />
</handlers>

- and  -

<httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler,Telerik.Web.UI"/>
      <add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=5.3.12.131, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
</httpHandlers>

Can anyone point me to anything else I should check?

Thanks!

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 03 Feb 2012, 05:14 AM
Ok, I think I am working too much.  I did not realized that the file that contains the reportviewer has a directive which specifies the assembly version.  I search the entire solution looking for the old version but for some reason the search did not find this instance.  Sorry if I wasted anybody's time.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or