制作安装包后,在小弟我自己的机子上安装后的程序可以用,但在有的人的机器上安装后程序启动时出错
制作安装包后,在我自己的机子上安装后的程序可以用,但在有的人的机器上安装后程序启动时出错!
大家以前也见过这样的问题吧!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for "JYuanSoft.Module1 " threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): 没有注册类别
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at JYuanSoft.FrmMain.InitializeComponent() in H:\JYuanSoft\FrmMain.vb:line 2930
at JYuanSoft.FrmMain..ctor() in H:\JYuanSoft\FrmMain.vb:line 25
at JYuanSoft.Module1..cctor() in H:\JYuanSoft\ModuleInit.vb:line 7
--- End of inner exception stack trace ---
at JYuanSoft.FrmCover.FrmCover_Load(Object sender, EventArgs e) in H:\JYuanSoft\FrmCover.vb:line 210
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
JYuanSoft
Assembly Version: 1.0.2684.17401
Win32 Version: 1.0.2684.17401
CodeBase: file:///C:/Program%20Files/gxc/bin/JYuanSoft.exe
大家以前也见过这样的问题吧!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for "JYuanSoft.Module1 " threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): 没有注册类别
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at JYuanSoft.FrmMain.InitializeComponent() in H:\JYuanSoft\FrmMain.vb:line 2930
at JYuanSoft.FrmMain..ctor() in H:\JYuanSoft\FrmMain.vb:line 25
at JYuanSoft.Module1..cctor() in H:\JYuanSoft\ModuleInit.vb:line 7
--- End of inner exception stack trace ---
at JYuanSoft.FrmCover.FrmCover_Load(Object sender, EventArgs e) in H:\JYuanSoft\FrmCover.vb:line 210
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
JYuanSoft
Assembly Version: 1.0.2684.17401
Win32 Version: 1.0.2684.17401
CodeBase: file:///C:/Program%20Files/gxc/bin/JYuanSoft.exe