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
> Date: Tue, 31 Mar 2009 05:51:57 -0700
> Subject: ERROR: Failed to Connect IE
> From: kbcw...@yahoo.com
> To: swexplorerautomation@googlegroups.com
> 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