I am doing Web tests with WatiN. i got following error:
Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 800706bf The remote procedure call failed and did not execute. (Exception from HRESULT: 0x800706BF).
at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, IDialogHandler logonDialogHandler, Boolean createInNewProcess)
at WatiN.Core.IE..ctor(String url)
my code is :
IE ie = new IE(URL);
Login login = new Login(ie);
login.LoginOneHR(userID, password));
CommonSetup01();
CommonSetup02();
ie.ForceClose();
IE ie_C = new IE(URL);
error occured at the last line.
if you know why or how to fix it, please help
I was having the same issue, and a 2 second Thread.sleep fixed it for me.