Pranav Pol (PranavP3921)
Flex Technologies Inc

Flex Technologies Inc
PranavP3921 Member since 2017 8 posts
Flex Technologies Inc
Posted: March 6, 2020
Last activity: March 6, 2020
Posted: 6 Mar 2020 8:23 EST
Last activity: 6 Mar 2020 10:13 EST

Outlook Retrieve Mail Exception - Outlook Connector Issue

Hi Team,

We are getting below exception while running the Outook connector - Retrieve Email Method. Solution is working fine for 10 to 15 minutes, after few minutes - randomaly getting exception and Pega runtime is not responding.


Exception Information ********************************************* Exception Type: System.ComponentModel.Win32Exception NativeErrorCode: 1158 ErrorCode: -2147467259 Message: "Error creating window handle." Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items TargetSite: Void CreateHandle(System.Windows.Forms.CreateParams) HelpLink: NULL Source: "System.Windows.Forms" HResult: -2147467259

StackTrace Information *********************************************    at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    at System.Windows.Forms.Control.CreateHandle()    at System.Windows.Forms.Control.get_Handle()    at OpenSpan.Office.MicrosoftOfficeBase..ctor()    at OpenSpan.Office.MicrosoftOutlookMail..ctor(MailItem mailItem, Boolean hookEvents)    at OpenSpan.Office.MicrosoftOutlook.HookMailItemEvents(MailItem item)    at OpenSpan.Office.MicrosoftOutlook.InternalRetrieveEmail(String folder, ReadType readType, MAPIFolder& retrieveFolder)    at OpenSpan.Office.MicrosoftOutlook.RetrieveEmail(String folder, ReadType readType)

Pega Robotic Desktop Automation Robotic Process Automation Financial Services Robotics System Architect
Moderation Team has archived post, 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.