未能找到xtraform_凭证打印的时候报未能找到元数据文件

版本号:6.0.10

业务场景(如下):

异常信息(异常类型:DevExpress.XtraReports.Serialization.XRSerializationException)

异常提示:0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Office.Interop.Excel\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll”

0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c\office.dll”

0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Vbe.Interop\15.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll”

异常信息:0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Office.Interop.Excel\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll”

0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\office\15.0.0.0__71e9bce111e9429c\office.dll”

0:  未能找到元数据文件“C:\WINDOWS\assembly\GAC_MSIL\Microsoft.Vbe.Interop\15.0.0.0__71e9bce111e9429c\Microsoft.Vbe.Interop.dll”

导致错误的应用程序或对象的名称:DevExpress.XtraReports.v10.2

引发当前异常的方法:DevExpress.XtraReports.UI.XtraReport Compile(

System.IO.Stream, System.IServiceProvider)

异常相关帮助:

堆栈信息:

在 DevExpress.XtraReports.Native.ReportCompiler.Compile(Stream stream, IServiceProvider serviceProvider)

在 DevExpress.XtraReports.UI.XtraReport.LoadLayoutInternal(Stream stream, XtraReport& source, Boolean forceDataSource)

在 DevExpress.XtraReports.UI.XtraReport.LoadLayout(Stream stream)

Genersoft.FI.ZW.VoucherPrintClient.Template.VoucherFormatTemplate.LoadLayout(Stream stream)

Genersoft.FI.ZW.VoucherPrintClient.FrmParamIndex.processFormat(VoucherPrintParam printParam)

Genersoft.FI.ZW.VoucherPrintClient.FrmParamIndex.preparePrint(VoucherPrintParam printParam)

Genersoft.FI.ZW.VoucherPrintClient.FrmParamIndex.print(String datype)

Genersoft.FI.ZW.VoucherPrintClient.FrmParamIndex.barButtonItem3_ItemClick(Object sender, ItemClickEventArgs e)

在 DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)

在 DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)

在 DevExpress.XtraBars.BarItemLink.OnLinkClick()

在 DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)

在 DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)

在 DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)

在 DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)

在 DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)

在 DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)

在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

在 System.Windows.Forms.Control.WndProc(Message& m)

在 DevExpress.XtraBars.Controls.DockedBarControl.WndProc(Message& msg)

在 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)

内部异常:{}

预期效果(如下):

实际效果(如下)(包括错误,异常):

操作步骤(如下):

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值