未能加载文件或程序集“C1.Win.C1Input.2, Version=2.0.20091.33227, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
用户代码未处理 System.IO.FileLoadException
  Message="未能加载文件或程序集“C1.Win.C1Input.2, Version=2.0.20091.33227, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)"
  Source="前台收银"
  FileName="C1.Win.C1Input.2, Version=2.0.20091.33227, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a"
  FusionLog="=== 预绑定状态信息 ===\r\n日志: 用户 = JCKOALIBUVC8JHH\\Administrator\r\n日志: DisplayName = C1.Win.C1Input.2, Version=2.0.20091.33227, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a\n (Fully-specified)\r\n日志: Appbase = file:///D:/SQL.产品.标准.NET.2012.6.8/SQL.产品.标准.NET.2012/开发版/\r\n日志: 初始 PrivatePath = NULL\r\n调用程序集: 前台收银, Version=3.5.0.0, Culture=neutral, PublicKeyToken=null。\r\n===\r\n日志: 此绑定从 default 加载上下文开始。\r\n日志: 正在使用应用程序配置文件: D:\\SQL.产品.标准.NET.2012.6.8\\SQL.产品.标准.NET.2012\\开发版\\小聪进销存增强版.vshost.exe.Config\r\n日志: 使用 C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\config\\machine.config 的计算机配置文件。\r\n日志: 策略后引用: C1.Win.C1Input.2, Version=2.0.20091.33227, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a\r\n日志: 试图下载新的 URL file:///D:/SQL.产品.标准.NET.2012.6.8/SQL.产品.标准.NET.2012/开发版/C1.Win.C1Input.2.DLL。\r\n警告: 比较程序集名称时发生不匹配: 修订号\r\n错误: 未能完成程序集的安装(hr = 0x80131040)。探测终止。\r\n"
  StackTrace:
       在 STMSPos.frmHelp.InitializeComponent()
       在 STMSPos.frmHelp..ctor() 位置 D:\SQL.产品.标准.NET.2012.6.8\SQL.产品.标准.NET.2012\STMSPos\frmHelp.cs:行号 16
       在 STMSPos.frmMain..ctor() 位置 D:\SQL.产品.标准.NET.2012.6.8\SQL.产品.标准.NET.2012\STMSPos\frmMain.cs:行号 86
       在 STMSStart.StockPosUICtrl.Excute() 位置 D:\SQL.产品.标准.NET.2012.6.8\SQL.产品.标准.NET.2012\STMSStart\MenuController.cs:行号 1211
       在 STMSStart.XmlMenu.XmlMenuItem.OnClick(EventArgs e) 位置 D:\SQL.产品.标准.NET.2012.6.8\SQL.产品.标准.NET.2012\STMSStart\XmlMenu\XmlMenuItem.cs:行号 68
       在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       在 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       在 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       在 System.Windows.Forms.Control.WndProc(Message& m)
       在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
       在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  InnerException: 

解决方案 »

  1.   

    缺少dll。。
    C1.Win.C1Input.2是什么?
    你是不是有什么dll没有拷到根目录?
      

  2.   

    可能是程序集"C1.Win.C1Input.2"所引用的dll出了问题
      

  3.   

    重新编译下. 查找所有的dll文件是否存在
      

  4.   

    你的ComponentOne是不是装的有问题?刚才看你问Ribbon,这会又Input,你是不是从哪直接拷的代码啊?
      

  5.   

    重新编译下. 查找所有的dll文件是否存在