Failed to open shared memory: Verify that [Enable third-party browser extensions] is checked in Internet Explorer options and SWExplorerAutomation.dll was registered. For IE8 switch off protected mode

166 views
Skip to first unread message

Deeps

unread,
Mar 1, 2011, 12:01:54 AM3/1/11
to SWExplorerAutomation
Error Message :

RROR: System.Runtime.InteropServices.COMException (0xFFFFFFFF):
@##SWException##@<Error><FileName>.\SWIEConnector.cpp</
FileName><LineNumber>48</LineNumber><FileTimeStamp>Sun May 11 11:59:57
2008</FileTimeStamp><Time>01/03/2011 4:51:56 AM</
Time><User>Administrator</User><Computer>HomePC</
Computer><ThreadId>7840</ThreadId><HRESULT>ffffffff</
HRESULT><Description>Failed to open shared memory: Verify that [Enable
third-party browser extensions] is checked in Internet Explorer
options and SWExplorerAutomation.dll was registered.</
Description><GUID>{00000000-0000-0000-0000-000000000000}</
GUID><HelpContext>0</HelpContext><HelpFile></HelpFile><Source></
Source></Error><Error><HRESULT>ffffffff</HRESULT><Description>Unknown
error 0xFFFFFFFF</
Description><GUID>{00000000-0000-0000-0000-000000000000}</
GUID><HelpContext>0</HelpContext><HelpFile></HelpFile><Source></
Source></Error>
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)
at SWExplorerAutomation.Client.ExplorerManager.ConnectNT(Int32
processId, ProcessWindowStyle windowStyle)
at SWExplorerAutomation.Client.ExplorerManager.Connect(Int32
processId, ProcessWindowStyle windowStyle)
at SWExplorerAutomation.Client.ExplorerManager.Connect()
at
SWExplorerAutomationExamples.TestLogin.InitialiseExplorerManager()
at SWExplorerAutomationExamples.TestLogin.RunTest(Object sender,
ElapsedEventArgs e)

I get the above error message when I try to run it as Windows Service.
But it works fine when I run this as Console Applicaton .

Any thoughts ??

Alex

unread,
Mar 1, 2011, 10:40:29 AM3/1/11
to SWExplorerAutomation
Windows 7 and Vista security prevents IE to be run under a service
account. A service account has no desktop and user profile. The
problem can be solved by placing SWEA automation code in the WCF
service hosted by any application running under desktop user session :
Console application, Cassini Web server or Microsoft ASP.NET
Development Server.


On Mar 1, 12:01 am, Deeps <emaildee...@gmail.com> wrote:
> Error Message :
>
> RROR: System.Runtime.InteropServices.COMException (0xFFFFFFFF):
> @##SWException##@<Error><FileName>.\SWIEConnector.cpp</
> FileName><LineNumber>48</LineNumber><FileTimeStamp>Sun May 11 11:59:57
> 2008</FileTimeStamp><Time>01/03/2011 4:51:56 AM</
> Time><User>Administrator</User><Computer>HomePC</
> Computer><ThreadId>7840</ThreadId><HRESULT>ffffffff</
> HRESULT><Description>Failed to open shared memory: Verify that [Enable
> third-party browser extensions] is checked in Internet Explorer
> options and SWExplorerAutomation.dll was registered.</
> Description><GUID>{00000000-0000-0000-0000-000000000000}</
> GUID><HelpContext>0</HelpContext><HelpFile></HelpFile><Source></
> Source></Error><Error><HRESULT>ffffffff</HRESULT><Description>Unknown
> error 0xFFFFFFFF</
> Description><GUID>{00000000-0000-0000-0000-000000000000}</
> GUID><HelpContext>0</HelpContext><HelpFile></HelpFile><Source></
> Source></Error>
>    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
Reply all
Reply to author
Forward
Message has been deleted
0 new messages