Summary
See the following scenario:
The Windows Event Viewer will contain an entry from Laserfiche Forms Routing Service that looks similar to the following:
Bad field value ('FieldName1'): Another operation on which this operation depends failed. [9054]
Bad field value ('FieldName2'): Another operation on which this operation depends failed. [9054]
Bad field value ('FieldName3'): The parameter is out of range or too long. [9020]
Bad field value ('FieldName4'): Another operation on which this operation depends failed. [9054]
Message: Multistatus response. [9039]
The parameter is out of range or too long. [9020]
Another operation on which this operation depends failed. [9054]
Another operation on which this operation depends failed. [9054]
The parameter is out of range or too long. [9020]
Another operation on which this operation depends failed. [9054]
Stack trace: at Laserfiche.RepositoryAccess.EntryInfo.Save()
at Laserfiche.Forms.CommonUtils.LFHelper.SetValueToTemplateField(EntryInfo lfDoc, String template, FieldValueCollection fvs)
Cause
In the multi-status error response returned when setting multiple field values, look for error messages other than "Another operation on which this operation depends failed." In the above sample, "FieldName3" is associated with a "The parameter is out of range or too long [9020]" error. This issue can occur if the Forms service task is trying to set a field value that is greater than the width of the field definition for FieldName3.
Resolution
Do one of the following: