WatiN cannot start IE

Today my new, Administrator right’s free, ccnet installation gave me „the finger” while trying to run WatiN test fixtures.:

Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80070005.
  at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler, Boolean createInNewProcess)
  at WatiN.Core.IE..ctor()

As it turns out silmple giving custom permissions to „Launch and Activation” and „Access” on „Internet Explore(ver 1.0), in DCOM Config in Component Services, solved the problem.

One comment

  1. MrKWatkins

    I had similar problems when setting up a new Windows 2008 build server. However unlike previous times I’ve set this up there was no „Internet Explorer (ver 1.0)” visible in the DCOM Config section. To fix this had to fire up the Registry Editor, go to HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046} and use the security settings to change ownership of the key to Administrators and give Administrators full access to the key. Then it popped up in DCOM Config and I could change the settings accordingly.

Leave a Reply

Back to Top