System.Runtime.InteropServices.COMException:

Bug reports.
EugeneF
Posts: 63
Joined: Fri Jul 29, 2011 12:26 am

System.Runtime.InteropServices.COMException:

Post by EugeneF » Thu Dec 01, 2011 10:29 pm

1. Running script
2. Script was kind of pause for an hour or so.
3. After that I stopped the script and error occurs.


System.Runtime.InteropServices.COMException: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(IntPtr pUnk)+0xffffffff
Debugger.Interop.MTA2STA.MarshalIntPtrTo(IntPtr param,Type outputType)+0x37
Debugger.Interop.MTA2STA.MarshalIntPtrTo(IntPtr param)+0x0
Debugger.ManagedCallbackProxy+<>c__DisplayClassa.<Exception>b__9()+0x0
Debugger.Interop.MTA2STA+<>c__DisplayClass3.<EnqueueCall>b__0()+0x0
Debugger.Interop.MTA2STA.PerformCall()+0x42
Debugger.Interop.MTA2STA.PerformAllCalls()+0x0
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)+0x98
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)+0x20
System.Threading.ExecutionContext.runTryCode(Object userData)+0x18
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code,CleanupCode backoutCode,Object userData)+0xffffffff
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback callback,Object state)+0x32
System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback callback,Object state)+0x60
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)+0x37
System.Windows.Forms.Control.InvokeMarshaledCallbacks()+0x5a

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: System.Runtime.InteropServices.COMException:

Post by Support Team » Fri Dec 02, 2011 10:56 am

Hi,

Thank you for posting the Bug Report. We will try to reproduce it and fix it if it is possible.

Regards,
Peter
Ranorex Team
.
Image