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

Question

Question

Form will not save to repository

asked on December 19, 2019

I have an issue with a form not saving to the repository. 

Does anyone know what this means?

This is the Error Message:

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] Details: URL: Error: ErrorExecuteSTR Date: 12/16/2019 11:32:38 AM (US Mountain Standard Time) HTTP Status Code: 500 Business Process ID: 170 Instance ID: 17332 Business Process Name: P&CD Inspection Form Stack Trace: Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException Message: An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus) at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext) Inner exception: System.ArgumentException Message: The entry name is invalid Parameter name: name at Laserfiche.RepositoryAccess.DocumentInfo.Create(FolderInfo parent, String name, String volumeName, EntryNameOption options) at Laserfiche.Forms.CommonUtils.LFHelper.CreateNewLFDocument(Session lfDb, String newDocumentName, FolderInfo lfParentFolder, Boolean autoRename, String volume, String ext, Boolean AddExt, Boolean& checkOutVersionDocument) at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

 

Does anyone know what this means?

0 0

Answer

SELECTED ANSWER
replied on December 19, 2019

Looks like the problem is: System.ArgumentException Message: The entry name is invalid

What are you using to set the document name when you save the form? It is possible you have an invalid character or something along those lines.

0 0
replied on December 19, 2019

Hi, 

 

Thanks for the response. I was not exactly sure what "Entry Name" was. I now know that it is the name it gives the document. 

When creating the name of the Document to be saved it is using user data input from inside the form and for some reason it did not like what was typed in the field it was pulling from. 

I was able to get the form saved to the repository. Now I have to figure out a better way to generate the Entry Name to avoid this in the future.

 

Thanks! for the help!

0 0

Replies

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

Sign in to reply to this post.