Ansichten:

Behavior:
The Workflow Designer displays the following message:


An unhandled exception occurred: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:UpdateWorkflowVersionResult.
The InnerException message was 'There was an error deserializing the object of type DocuWare.BPW.Infrastructure.WorkflowVersion.
The maximum string content length quota (524288) has been exceeded while reading XML data.
This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 512.'.
Please see InnerException for more details.


Solution:
This error message means that the limit for the xml quota has been reached. This is due to a “big” workflow created in the Workflow Designer.
To solve this warning message it will be necessary to modify the following values in DocuWare.WorkflowManager.Designer.exe.config and DocuWare.WorkflowEngine.Srvc.exe.config:

  • maxBufferPoolSize
  • maxBufferSize
  • maxReceivedMessageSize
  • maxStringContentLength
  • maxArrayLength

and increase them to, for example 2147483647

These values can be found in the system.serviceModel tag under basicHttpBinding.