You are viewing limited content. For full access, please sign in.

Question

Question

LFF9705-SecureAttachmentTransferError

asked on February 3, 2022

A form has been submitted with what seems to be an attachment that is too large. Here is the error: 

“Message: The attachment transfer service has encountered a problem, check for detailed error messages in the event log. [LFF9705-SecureAttachmentTransferError]”

 

Event Viewer log: 

 

Inner exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]

Message: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:ids. The InnerException message was 'There was an error deserializing the object of type System.Int32[]. The 'maximum bytes per Read operation' quota (4096) has been exceeded while reading XML data. Long element start tags (consisting of the element name, attribute names and attribute values) may trigger this quota. This quota may be increased by changing the MaxBytesPerRead property on the XmlDictionaryReaderQuotas object used when creating the XML reader.'.  Please see InnerException for more details

 

I found the maxBytesPerRead in Laserfiche Forms > Forms > bin >RoutingEngineServiceHost.exe I see the maxBytesPerRead is ="134217727". 

 

Can that be increased without issue? Or am I on the wrong path and should be looking somewhere else to increase the size?

 

Thanks,

 

Linda

0 0

Replies

replied on February 3, 2022

Hi Linda,

I ran that error message through our internal support and bug database and didn't get any relevant hits. Could you please open a support case for this issue so we can better assist?

Thanks,
Sam

0 0
replied on February 7, 2022

Hi Linda,

The secure attachment transfer service uses netTcpBinding 'timeoutBindingStreamed' to communicate, which doesn't explicitly configure maxBytesPerRead in default RoutingEngineServiceHost.exe.config, so default value 4096 is being used. You may add readerQuotas node for the specific binding and try increase maxBytesPerRead to see whether it helps. (reference: https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/wcf/nettcpbinding )

The mentioned search result should be configuration of other bindings.

 

On the other hand, could you share the circumstances under which the error would happen? 

0 0
replied on February 11, 2022

A permit was submitted and there are several places that a file can be uploaded.  One user (the person who approves permits) could see one file uploaded, while another user (IT) could see several files uploaded of the same file.  It was very strange. So, they printed the form and attachment. Stopped the process and re-entered the form information and everything was fine. It was just a very odd thing to have happen. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.