【问题标题】:microsoft report viewer 2015微软报告查看器 2015
【发布时间】:2016-02-08 21:23:44
【问题描述】:

我已经在我正在开发的系统上安装了 Microsoft Report Viewer 2015 运行时,并且第一天它运行良好。第二天它给出了命名空间错误报告的类型。我检查了 Reference 文件夹,现在在其中列出的两个文件(Microsoft.ReportViewer.Common 和 Microsoft.ReportViewer.WinForms)上显示了一个黄色三角形。我已经尝试重新安装,但无济于事。我需要帮助,请。

【问题讨论】:

    标签: c# reportviewer


    【解决方案1】:

    您可以从中挑选参考资料

    C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer 文件夹集。

    在每个文件夹中都有一个用于 Common 例如你会发现 3 个 DLLS 最新的是:

    C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\12.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.Common.dll。

    89845dcd8080cc91 是公钥令牌。

    请注意,如果您使用的是 Web 表单版本,则需要将以下内容添加到您的 Web 配置中,因为 piblic 密钥令牌与 Report Viewer 11 的相同。

    <runtime>
     <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
       <dependentAssembly>
         <assemblyIdentity name="Microsoft.ReportViewer.WebForms" publicKeyToken="89845dcd8080cc91" />
          <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" />
        </dependentAssembly>
      </assemblyBinding>
    </runtime>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-04-24
      • 2012-06-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多