我有一个C#(Visual Studio 2010中)的项目,打开Internet Explorer 8中是这样的:华廷:错误打开Internet Explorer
Brower browser = new WatiN.Core.IE("http://google.com");
这用来工作,但我有这样的要求我重新安装Internet的一些问题资源管理器(我在Windows 7上)。我正在使用.NET 4.0框架(尽管我试图改变)。
现在,我得到这个异常:
Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
我可以手动打开Internet Explorer,罚款。
我正在使用Watin 2.0(我也试过2.1)。
你是如何“重新安装Internet Explorer”的? – vcsjones
控制面板...卸载或更改程序...查看安装的更新... < - 这是一个奇怪的地方,但在那里有“Internet Explorer”,我删除它。然后再在网上找到它。 –