CPC客户端报错 (0x80040154):

CPC客户端创建申请文件时会弹出报错的提示,查看详细信息如下。
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.Runtime.InteropServices.COMException (0x80040154): 没有注册类别 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))
在 System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
在 System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
在 System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
在 System.Windows.Forms.AxHost.CreateInstance()
在 System.Windows.Forms.AxHost.GetOcxCreate()
在 System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
在 System.Windows.Forms.AxHost.CreateHandle()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.AxHost.EndInit()
在 CPC.COMMON.frmAbout.InitializeComponent()
在 CPC.COMMON.frmAbout..ctor()
在 CPC.COMMON.frmMain.bbiAbout_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)
在 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
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3649 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CPC
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/CPC.exe
----------------------------------------
System.Windows.Forms
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3645 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3644 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3644 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Model
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/Model.DLL
----------------------------------------
Utility
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/Utility.DLL
----------------------------------------
BLL
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/BLL.DLL
----------------------------------------
log4net
程序集版本: 1.2.0.30714
Win32 版本: 1.2.0.30714
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/log4net.DLL
----------------------------------------
System.Configuration
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3650 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3650 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DevExpress.XtraTreeList3
程序集版本: 1.11.1.0
Win32 版本: 1.11.1.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/DevExpress.XtraTreeList3.DLL
----------------------------------------
DevExpress.XtraBars3
程序集版本: 3.7.1.0
Win32 版本: 3.7.1.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/DevExpress.XtraBars3.DLL
----------------------------------------
DevExpress.Utils3
程序集版本: 3.2.1.0
Win32 版本: 3.2.1.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/DevExpress.Utils3.DLL
----------------------------------------
DevExpress.XtraEditors3
程序集版本: 3.2.1.0
Win32 版本: 3.2.1.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/DevExpress.XtraEditors3.DLL
----------------------------------------
System.Data
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
ImageHandle
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/ImageHandle.DLL
----------------------------------------
DAL
程序集版本: 1.0.0.0
Win32 版本: 1.0.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/DAL.DLL
----------------------------------------
System.Transactions
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
System.Design
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3645 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Microsoft.Office.Interop.Word
程序集版本: 12.0.0.0
Win32 版本: 12.0.4518.1014
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/Microsoft.Office.Interop.Word.DLL
----------------------------------------
AxInterop.GWSSIApplication
程序集版本: 1.1.0.0
Win32 版本: 1.1.0.0
基本代码: file:///C:/Program%20Files/gwssi/CPC客户端/AxInterop.GWSSIApplication.DLL
----------------------------------------
System.Windows.Forms.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
程序集版本: 2.0.0.0
Win32 版本: 2.0.50727.3649 (GDR.050727-3600)
基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。

操作方法

  • 01

    那么可以采用批处理注册的方式进行解决,批处理文件需要复制到CPC的安装目录,然后双击运行。

  • 02

    使用记事本新建,然后将如下的内容拷贝到记事本,然后保存成 ****.bat 文件 @echo off color a @echo 开始注册ocx for /f %%i in ('dir /a /b .\*.ocx') do echo 正在注册%%i,请稍候...  & copy .\%%i  %SystemRoot%\System32\  & regsvr32 /s  "%SystemRoot%\System32\%%i" echo 注册完成,按任意键退出... pause>nul exit

  • 03

    将此批处理文件拷贝到CPC安装目录(安装目录里面应该存在很多*.dll 和*.ocx文件),然后双击运行批处理文件 如果安装了360,可能需要关闭一下,否则会有很多的修改提示。 如果不能显示复制文件完成,那么就将CPC安装在没有空格没有中文的目录下,例如C:\zhuanli\

(0)

相关推荐