Could not load file or assembly 'Microsoft.ReportViewer.WebForms'

后端 未结 13 2317
谎友^
谎友^ 2020-12-04 17:52

I am trying to use the report viewer in asp.net and have uploaded my site. However, when my page containing the report viewer is loaded, it shows the following error:

<
13条回答
  •  [愿得一人]
    2020-12-04 18:17

    I had this error when going from version 10.0.0.0, i.e. "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

    to version 11.0.0.0, i.e.

    "Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"

    It took a while until I understood that not only the version was changed but also the public token key, as you can see above.

提交回复
热议问题