on one of the machines we use for testing, we're starting to get the aforementioned error, but other machines are not getting it and we can't track it down to any specific changes or figure out what the problem might be. Doesn't help that the machine getting the error is primarily used to write fixtures while the machines that aren't are used to write test scripts (using FitNesse) and run them.
Doesn't happen 100%, but a significant percentage of the time, the navigate command to get to the first page of the application (hosted on the local IIS service) throws this exception (WebAii 1.0 version 1.0.600.0):
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ArtOfTest.ShDocVw.WebBrowserClass.get_Document()
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'NavigateTo',Target:'null',Data:'http://localhost:8895/ProAccess/Client/Login.aspx',ClientId:'Client_3ea5d8ec-d0dc-4423-bae3-6dd9abf715a7',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ArtOfTest.ShDocVw.WebBrowserClass.get_Document()
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
at Medicity.Fixtures.Web.WebAii.WebAiiFixture`1.Navigate(String query) in C:\Source\Proaccess\Externals\Engine\Externals\Medicity.Fixtures\Medicity.Fixtures.Web\WebAii\WebAiiFixture.cs:line 86
--- End of inner exception stack trace ---
Normal
0
false
false
false
EN-US
X-NONE
X-NONE
MicrosoftInternetExplorer4
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}