Question

2
Replies
138
Views
AaronA38 Member since 2017 6 posts
State Farm Mutual Automobile Insurance Company
Posted: 2 years ago
Last activity: 2 years ago
Closed

Unable to cast COM object on webpage

I am getting the error below in the runtime logs randomly in a solution I am working on. This error occurs from the WaitForEvent to the CloseWindow method. The CloseWindow has keys set to true. I currently have a Try..Catch that handles the issue, but want to solve it correctly. The SuppressAdapterExceptions in the RuntimeConfig.xml is set to false. Any idea on what would cause this or how to correct it?

Unable to cast COM object of type 'mshtml.HTMLBodyClass' to interface type 'mshtml.IHTMLElement2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F434-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))., Verbose Message: General Information

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn