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

后端 未结 13 2318
谎友^
谎友^ 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条回答
  •  -上瘾入骨i
    2020-12-04 17:57

    I had this error with an old webforms app. Turns out there was a line in the markup causing the issue. I removed it and the error disappeared.

    <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
    

提交回复
热议问题