zoukankan      html  css  js  c++  java
  • 未能加载文件或程序集 Microsoft.ReportViewer.Common, Version=11.0.0.0

    System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”或它的某一个依赖项。系统找不到指定的文件。
    文件名:“Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91”


    报错堆栈,意思是:客户端缺少了 Microsoft.ReportViewer.Common 文件,

    然后我搜索整个计算机找到对应的dll文件后,还是报错,上网搜了好久,

    缺少哪些文件或程序集,到程序开发计算机下找到对应的烤到客户端的程序启动目录下即可(项目烤到Bin\Debug目录下)


    只能用命令的方式烤:

    11.0.0.0 是版本号,89845dcd8080cc91 你打开 C:WINDOWSassembly  看一下就知道什么意思了

    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.Design.resources11.0.0.0_zh-CHS_89845dcd8080cc91Microsoft.ReportViewer.Design.resources.dll C:
    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.ProcessingObjectModel11.0.0.0__89845dcd8080cc91Microsoft.ReportViewer.ProcessingObjectModel.dll C:


    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebDesign11.0.0.0__89845dcd8080cc91Microsoft.ReportViewer.WebDesign.dll C:
    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebDesign.resources11.0.0.0_zh-CHS_89845dcd8080cc91Microsoft.ReportViewer.WebDesign.resources.dll C:


    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebForms11.0.0.0__89845dcd8080cc91Microsoft.ReportViewer.WebForms.dll C:
    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WebForms.resources11.0.0.0_zh-CHS_89845dcd8080cc91Microsoft.ReportViewer.WebForms.resources.dll C:


    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WinForms11.0.0.0__89845dcd8080cc91Microsoft.ReportViewer.WinForms.dll C:
    copy C:WINDOWSassemblyGAC_MSILMicrosoft.ReportViewer.WinForms.resources11.0.0.0_zh-CHS_89845dcd8080cc91Microsoft.ReportViewer.WinForms.resources.dll C:


    copy C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.Types11.0.0.0__89845dcd8080cc91Microsoft.SqlServer.Types.dll C:
    copy C:WINDOWSassemblyGAC_MSILMicrosoft.SqlServer.Types.resources11.0.0.0_zh-CHS_89845dcd8080cc91Microsoft.SqlServer.Types.resources.dll C:


    rdlc报表winform客户端的配置安装是个麻烦事,老报错,记下,仅供参考!




  • 相关阅读:
    超简单实例使用websocket进行server和client实时通信
    antd的table行key自增长
    selenium元素定位Xpath,Contains,CssSelector
    slenium使用鼠标+键盘事件或者双击实现代码
    使用python+pychram进行API测试(接口测试)初级STEP 1
    linux命令小常识
    sql中limit使用方法
    Swagger-API测试工具实战
    写 test-case心得
    测试之路之[前奏]
  • 原文地址:https://www.cnblogs.com/xiaxiaolu/p/4367142.html
Copyright © 2011-2022 走看看