C1FlexReport做的打印,原来能正常运行,换了一台新电脑后出错,如下:
- 有关调用实时(JIT)调试而不是此对话框的详细信息,
- 请参见此消息的结尾。
- ************** 异常文本 **************
- System.Runtime.InteropServices.COMException (0x80040154): 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))
- 在 C1.Util.DX.DXGI.PrintDocumentPackageTargetFactory.Create()
- 在 C1.Win.C1Document.C1DXPrintManager.Print(String printerName, C1PrintOptions printOptions, ComStream jobPrintTicketStream, Single printerPageWidthPx, Single printerPageHeightPx, Rect printableArea, Int32 dpi, Int32 copies, Boolean collate, OutputRange outputRange)
- 在 C1.Win.C1Document.C1DXPrintManager.InternalPrint(C1PrintOptions options)
- 在 C1.Win.C1Document.C1PrintManager.Print()
- 在 C1.Win.FlexReport.C1FlexReport.InternalPrint(C1PrintOptions options, IExecutionContext context)
- 在 C1.Win.C1Document.C1DocumentSource.Print(C1PrintOptions options)
- 在 C1.Win.C1Document.C1DocumentSource.Print()
- 在 运单助手.frm打印票据.btnDaYin_Click(Object sender, EventArgs e)
- 在 System.Windows.Forms.Control.OnClick(EventArgs e)
- 在 System.Windows.Forms.Button.OnClick(EventArgs e)
- 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
- 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
- 在 System.Windows.Forms.Control.WndProc(Message& m)
- 在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
- 在 System.Windows.Forms.Button.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)
- ************** 已加载的程序集 **************
- mscorlib
- 程序集版本:4.0.0.0
- Win32 版本:4.7.2556.0 built by: NET471REL1
- 基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
- ----------------------------------------
- 运单助手
- 程序集版本:1.0.0.0
- Win32 版本:1.0.0.0
- 基本代码:file:///C:/%E8%BF%90%E5%8D%95%E5%8A%A9%E6%89%8B(%E4%BA%8C%E6%9C%9F%EF%BC%89/%E8%BF%90%E5%8D%95%E5%8A%A9%E6%89%8B0801%E4%BA%8C%E6%9C%9F.exe
- ----------------------
复制代码 数据库是Access,新电脑未安装Office,是否有关?其他界面读取数据库却没有问题
|
|