Question

1
Replies
22
Views
Close popover
Rosemarie Biacolo (Rose030494)
Deloitte
Senior RPA Developer
Deloitte
CA
Rose030494 Member since 2018 4 posts
Deloitte
Posted: October 29, 2020
Last activity: October 30, 2020

Outlook Retrieve Mail/Find Mail Exception - Outlook Connector Issue

Hi Team,

We are getting below exception using the outlook connector - FindEmail/Retrieve email method. bot runs fine continuously upto 4 hrs then it will encounter this exception. We checked the outlook set-up and versions all seems fine. We also added a handle if this exception will occur, then bot will restart the outlook but still no luck.

"Exception: System.ComponentModel.Win32Exception (0x80004005): Error creating window handle.\r\n at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)\r\n at System.Windows.Forms.Control.CreateHandle()\r\n at System.Windows.Forms.Control.get_Handle()\r\n at OpenSpan.Office.MicrosoftOfficeBase..ctor()\r\n at OpenSpan.Office.MicrosoftOutlookMail..ctor(MailItem mailItem, Boolean hookEvents)\r\n at Extensions.MicrosoftOutlookExtension.FindEmails(String folder, String from, String to, String receivedTime, String subjectStartsWith). Message Error creating window handle

Can someone please help?

Thank you.

Pega Robotic Process Automation 19.1 Pega Robotic Desktop Automation 19.1 Robotic Process Automation Financial Services System Architect