Quantcast
Channel: Installation and Setup
Viewing all articles
Browse latest Browse all 631

Problems with ReportViewer

$
0
0

Hello,

I have a project using ReportViewer,which is working fine.
But I failed creating another project using the same code.

The original, working project uses the following References:

  • Microsoft.ReportViewer.Common
  • Microsoft.ReportViewer.ProcessingObjectModel
  • Microsoft.ReportViewer.WebForms

All references are at version 11.0.0.0.

The web.config contains these lines:

<add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" /><add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />

The aspx-files using it contain this line:

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

However, in the new project, I get a JS exception: "Microsoft is undefined".

First, I tried to use the new version 12 of ReportViewer, which I installed on the machine. I added the references under C:\Windows\assembly\GAC_MSIL, all in version 12. And I also adapted the Web.Config and the references in the aspx-files. At this point, I didn't know what to use as PublicKeyToken. I found something on the net. But I always got the error "Microsoft is undefined", even after cleaning and recompiling the project.

Then, I wanted to resign and move to version 11. I changed everything: the references, the Web.config and the aspx-files. But I keep getting this error.

I believe I do not understand the dependencies. Could someone please help me out of this?

Thanks
Magnus


Viewing all articles
Browse latest Browse all 631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>