Solved

The constructor to deserialize an object of type 'Microsoft.Exchange.WebServices.Data.ServicexmlSerialization' was not found

  • 10 July 2023
  • 6 replies
  • 157 views

Badge +6

Hi,

I am getting below exception when workflow instance is created in K2 5.6 and its stopping to send task email to the users.

The constructor to deserialize an object of type 'Microsoft.Exchange.WebServices.Data.ServicexmlSerialization' was not found

please assist.

Best Regards,

 

 

icon

Best answer by Thriveni 17 July 2023, 11:37

View original

6 replies

Userlevel 3
Badge +10

Is this working for some emails or not working for all emails?

Was this working before and stopped working?

If you run ConnectionStringEditor.exe in [K2 > Host Server > Bin] directory, does the EWS connection strings have the Oauth Resources parameter populated?  Or is it still using basic/password authentication?

Badge +6

Dear TinTex,

 

Thank you for your information.

This is happened only with one instance within a workflow and other instances with in the same workflow is working fine with same user.

When I checked in view flow, this is pointing to workflow email (Not a task email) which sends email to initiator that the request is initiated.

if you have any idea could be appreciated.

Best Regards,

Thriveni

Userlevel 3
Badge +10

If it is only specific to a single instance of a workflow, then it is perhaps bad data that is being used in the email step.  I would check and compare if any of the data fields, item references, or attachments that are being used in this email step greatly differs from a working instance.

Perhaps these data fields, item references, or attachments are empty or null or returns an error or invalid value which results in this error.

Userlevel 5
Badge +20

Hi @Thriveni 
Have these answers resolved your question? 

Badge +6

Hi,

I have managed by performing Go To activity to skip that specific step and is resolved and we still monitoring with other instances.

Best Regards,

Thriveni

Badge +1

Hi,

We encountered the same issue/error and was able to resolve it by Go to Activity, as this error is more related to sending an email activity from the workflow .

 

Regrads

Kal

Reply