ERROR: Failed to Connect IE

25 views
Skip to first unread message

Ken

unread,
Mar 31, 2009, 8:51:57 AM3/31/09
to SWExplorerAutomation
Hi everyone,

I'm getting the exception "ERROR: Failed to Connect IE" in
explorerManager.Connect.

I'm not sure what caused this error; I was able to make SWEA work
before, and then all of a sudden, I now encounter this error. I tried
it on a different computer but still encounters this error. I tried it
in v2.0.6.1 (latest version at the time of writing) and also in
v2.0.3.1, but the error is still there.

Any ideas? Here's the exception details. Thanks in advance.

SWExplorerAutomation.Client.SWException was unhandled
Message="Failed to Connect IE"
Source="SWExplorerAutomationClient"
StackTrace:
at
SWExplorerAutomation.Client.Utils.ServerConnectorHelper.GetExplorerManager
(Int32 processId)
at
SWExplorerAutomation.Client.ExplorerManager.ConnectWithProcessId(Int32
processId, ProcessWindowStyle windowStyle, Boolean waitForChild)
at SWExplorerAutomation.Client.ExplorerManager.Connect(Int32
processId, ProcessWindowStyle windowStyle)
at SWExplorerAutomation.Client.ExplorerManager.Connect
(ProcessWindowStyle windowStyle)
at SWExplorerAutomationExamples.CodeTemplate.Main() in C:
\Documents and Settings\calupita\Desktop\Other Stuff\Backup\Program
Files\Webius\SWExplorerAutomation\reset.cs:line 145
at System.AppDomain._nExecuteAssembly(Assembly assembly, String
[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException Stack Trace: at in :line
at in .\GlobalObjectTableImpl.cpp:line 267
at System.RuntimeType.ForwardCallToInvokeMember(String
memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData)
at SWExplorerAutomationLib.ISWIEConnector.GetExplorerManager
(Int32 processId)
at
SWExplorerAutomation.Client.Utils.ServerConnectorHelper.GetExplorerManager
(Int32 processId)
InnerException: SWExplorerAutomation.ChainedComException
Message="Object is not found:ProcessId:-1"
Source=".\\GlobalObjectTableImpl.cpp"
ErrorCode=-1
ErrorChainToString="SWExplorerAutomation.ChainedComException
(0xFFFFFFFF): Object is not found:ProcessId:-1 --->
SWExplorerAutomation.ChainedComException (0xFFFFFFFF): Unknown error
0xFFFFFFFF\r\n at in :line \r\n at in .\
\GlobalObjectTableImpl.cpp:line 267\r\n at
System.RuntimeType.ForwardCallToInvokeMember(String memberName,
BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&
msgData)\r\n at
SWExplorerAutomationLib.ISWIEConnector.GetExplorerManager(Int32
processId)\r\n at
SWExplorerAutomation.Client.Utils.ServerConnectorHelper.GetExplorerManager
(Int32 processId)\r\nSWExplorerAutomation.ChainedComException
(0xFFFFFFFF): Unknown error 0xFFFFFFFF\r\n"
StackTrace:
at in :line
at in .\GlobalObjectTableImpl.cpp:line 267
at System.RuntimeType.ForwardCallToInvokeMember(String
memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes,
MessageData& msgData)
at
SWExplorerAutomationLib.ISWIEConnector.GetExplorerManager(Int32
processId)
at
SWExplorerAutomation.Client.Utils.ServerConnectorHelper.GetExplorerManager
(Int32 processId)
InnerException: SWExplorerAutomation.ChainedComException
Message="Unknown error 0xFFFFFFFF"
ErrorCode=-1

ErrorChainToString="SWExplorerAutomation.ChainedComException
(0xFFFFFFFF): Unknown error 0xFFFFFFFF\r\n"
InnerException:

Alex Furman

unread,
Mar 31, 2009, 11:18:07 AM3/31/09
to swexplorer...@googlegroups.com
Which operating system and IE version do you use? 
 
Also check that versions of SWExplorerAutomationClient.dll and SWExplorerAutomation.dll matches.

 
> Date: Tue, 31 Mar 2009 05:51:57 -0700
> Subject: ERROR: Failed to Connect IE
> From: kbc...@yahoo.com
> To: swexplorer...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages