Creating a process for Outlook Send Email however during test run getting below error
Error occurred while performing outlook automation Unable to cast COM object of type ‘Microsoft.Office.Interop.Outlook.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Outlook._Application’. This operation failed because the QueryInterface call
Please help in resolving this issue
Hi,
Before using outlook activity, ensure:
Outlook must be installed on your system .( Supported version : 2013 / 2016)
Outlook must be open
Regards,
Amit
Hi Amit
Already checked that. Outlook is open and version is 2016
Got some reference in below link, trying that now
Repaired MS Office, but still getting the same error
System.InvalidCastException: Unable to cast COM object of type ‘Microsoft.Office.Interop.Outlook.ApplicationClass’ to interface type ‘Microsoft.Office.Interop.Outlook._Application’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00063001-0000-0000-C000-000000000046}’ failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155).
Hi,
Ae you using web version or desktop version of outlook.
Outlook client on laptop
Found the resolution and able to send mail. Anyone getting same error, should follow the steps as mentioned in below link.