版本号: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)
内部异常:{}
预期效果(如下):
实际效果(如下)(包括错误,异常):
操作步骤(如下):