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 thought on “WatiN cannot start IE

  1. 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_ROOTCLSID{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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s