Question

2
Replies
385
Views
Close popover
Sruthi Ambati (SruthiA1487)
Cigna Corporation

Cigna Corporation
IN
SruthiA1487 Member since 2018 8 posts
Cigna Corporation
Posted: November 15, 2018
Last activity: December 3, 2018
Closed

Com error with Outlook component

Hi All,

I'm working with sending a new mail through outlook.I'm able to send mail when debugging or running through Pega Robotics Studio( 8.0.1076.0). But on loading to Pega runtime facing below automation error at OutlookMail.New().

"Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Outlook._MailItem'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063034-0000-0000-C000-000000000046}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)). "

Could someone please help on this.Thanks in advance.

Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.