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

Question

Question

Form Suspended. "An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR]

asked on January 31, 2024

Hello,

A few days ago one of our forms stopped, though others of the same kind have successfully completed. The error is posted below. I've tried adding a folder for it to go into, changed the volume it was using, and then assigned a volume to the folder I created and none of those worked. I'm fairly new to troubleshooting LF issues, so there are probably things I have missed that I could try. Here is the Error:

 

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR]

Details:

URL:

Error: ErrorExecuteSTR

Date: 1/31/2024 9:01:23 AM (Central Standard Time)

HTTP Status Code: 500

Business Process ID: 50

Instance ID: 15010

Business Process Name: Budget Transfer

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: Laserfiche.RepositoryAccess.ObjectNotFoundException Message: Volume not found. [9006]

   at Laserfiche.RepositoryAccess.EntryLock.LockInternal(HttpUrl url, LockType type, LockExtent lockExtent, Dictionary`2 additionalHeaders, String etag)

   at Laserfiche.RepositoryAccess.EntryLock..ctor(EntryInfo info, Nullable`1 duration, LockExtent extent, EntryNameOption options)

   at Laserfiche.RepositoryAccess.Entry.MakeDocFolderWithLock(EntryInfo info, 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.CommonUtils.LFHelper.TryImportAttachment(Session sess, cf_bp_attachment_data attachment, FolderInfo parentFolder, String volume, String attachmentName, String ext, Boolean ignorePageError, Boolean& checkOutVersionDocument)

   at FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveAttachmentToLaserfiche(Session session, XmlDocument datasetXml, STLConfigurationObj conf, DocumentInfo rootddoc, String timeZone, String rootFolderPath)

   at FormsModel.RoutingModels.Services.SaveFormToLaserficheStrategy.SaveToLaserfiche(Session session, XmlDocument datasetXml, List`1 STLConfigList, SaveToLaserficheParameters saveToLaserficheParameters)

   at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.OpenSessionAndSave(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone)

   at FormsModel.RoutingModels.Services.SaveToLaserficheHelper.SaveToLaserfiche(IEntityContext _AppContext, Int32 STLRepositoryId, List`1 STLConfigList, XmlDocument datasetXml, ISaveToLaserficheStrategy saveToLaserficheStrategy, String timeZone)

   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

0 0

Answer

SELECTED ANSWER
replied on February 1, 2024

Ensure that the parent folder in the repository has a default volume assigned or manually specify the volume to use during the save to repository task. This will happen if you didn't specify a volume and the parent folder does not have a default volume.

0 0
replied on February 2, 2024 Show version history

You reminded me that I forgot to check the "documentUploads" part of the General tab in the Save to Repository task. Seems that the volume decided to remove itself at some point. Thank you!

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.