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

后端 未结 13 2314
谎友^
谎友^ 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:18

    You need to reference both Microsoft.ReportViewer.WebForms and Microsoft.ReportViewer.Common and set the CopyLocal property to true. This will result in the dll's being copied to our bin directory (both are necessary).

    0 讨论(0)
提交回复
热议问题