This is a migrated thread and some comments may be shown as answers.

Execution failed: Error loading type library/DLL

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrey Cherepakha
Top achievements
Rank 1
Andrey Cherepakha asked on 14 Oct 2013, 02:42 PM
Hi!

My automation tests made with WebAii work fine on my PC. I am trying to execute them on a different PC and get an error.

ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
   at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_9b8eedd9-e654-4b7e-aa20-b07eb0f72df9',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
   at mshtml.HTMLDocumentClass.IHTMLDocument3_get_documentElement()
   at ArtOfTest.InternetExplorer.IECommandProcessor.SetCurrentDocumentMarkup(BrowserCommand& response)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessInformationCommands(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
 
TearDown : System.NullReferenceException : Object reference not set to an instance of an object.
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.RefreshDomTree()
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.InternalNavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
at Utilities.WebAii.Navigate(Area area, String url) in WebAii.cs: line 238
at Forms.UserUI.PageNavigator.Navigate(String url) in PageNavigator.cs: line 89
at Forms.UserUI.UserArea.Navigate(String url) in UserArea.cs: line 59
at Tests.Mixed.Test.TestTest() in Test.cs: line 86
--TearDown
at NUnit.Framework.TestContext.ResultAdapter.get_State()
at Tests.BaseTest.TearDownBase() in BaseTest.cs: line 80

I tried to uninstall / install libraries. It does not help.

Configuration of two PC seems to look identical: WinXP SP3, IE 8.0.6001.18702

Here is the GAC info regarding WebAii libraries:

  ArtOfTest.InternetExplorer, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=5339893a7cefe4d6, processorArchitecture=MSIL
  ArtOfTest.ShDocVw, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=2c87ddee179cbcea, processorArchitecture=MSIL
  ArtOfTest.WebAii, Version=2011.2.1413.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c, processorArchitecture=MSIL

Any ideas what may cause the error?

I have found a post simple-ie-8-navigateto-fails  with similar error. The solution is clear installation on clear PC. Unfortunately, it will not work in my case.

Every little helps.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 17 Oct 2013, 01:05 PM
Hello Andrey,

I can see that you are using an old release of Telerik Testing Framework ( 2011.2.1413.0).
Could you please try to upgrade the version of the Framework on both of the machines and see if this is going to help. 

Hope to hear from you soon.

Regards,
Velin Koychev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Andrey Cherepakha
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Share this question
or