运行我的软件应用程序时出现错误消息,并且我打开了一个在后台使用EXCEL的窗口。
这是我收到的详细消息错误:
**************例外文字**************
System.Runtime.InteropServices.COMException (0x8007007F): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following
error: 8007007f La procédure spécifiée est introuvable. (Exception from HRESULT: 0x8007007F).
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType
objectType)
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType
serverType)
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType
serverType, Object[] props, Boolean bNewObj)
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at WindowsApplication1.Aux_Publiques.Detection_Fichier_OTIF_Fournisseurs()
at WindowsApplication1.frm_OTIF.frm_OTIF_Disposed(Object sender, EventArgs e)
at System.ComponentModel.Component.Dispose(Boolean disposing)
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at WindowsApplication1.frm_OTIF.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
' ------------------------------------------- ---
我已经尝试过这个解决方案了:
有人有想法吗?
我将继续为您解答问题
谢谢你。