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

Question

Question

Error during Save to Reporsitory task [LFF5427-ErrorExecuteSTR]

asked on January 26, 2018

I am getting the following error:

 

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

Details:
URL: 
Error: ErrorExecuteSTR
Date: 1/26/2018 9:31:23 AM (Central Standard Time)
HTTP Status Code: 500
Business Process ID: 39
Instance ID: 548
Business Process Name: HR - PAF Transfers - Test Copy

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An error occurred during the execution of the Save to Repository service task. [LFF5427-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, Dictionary`2 additionalHeaders, String etag)
   at Laserfiche.RepositoryAccess.EntryLock..ctor(EntryInfo info, 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)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

 

Funny thing is that the file is getting saved to the repository in the correct place with the correct name and all the template fields are getting filled correctly.  Any idea of what is going on?  I see the "Volume not found" exception, but how can that be if the file  creation/save is taking place?

0 0

Answer

SELECTED ANSWER
replied on January 26, 2018

Hi Carlos,

Does the form in question use any "file upload" fields? Could this error be referring to any files that were uploaded to the specific form submission? If so, can you confirm that those files were also saved to the repository as well or were perhaps not saved because the volume configuration for them needs to be addressed?

Regards

2 0
replied on January 31, 2018

The form has several attached documents, one of the them wasn't pointing to the correct volume.  Thanks for your help!

1 0

Replies

You are not allowed to reply in this post.
replied on January 29, 2018

Hi Alexander!

There are some file uploads that take place, those are saved correctly as well, I'm attaching a screenshot of the last part of the process.  I looked at the workflow service task preceding the step the error occurs in and it completes correctly, but there is one issue with it that I just found out this morning, the connection profile it is using is pointing to a test repository that is no longer being used.  The workflow itself doesn't write anything to Laserfiche, it is used to save form information into a SQL table for reporting purposes.  Even with the profile issue, the workflow doesn't kick out any errors and completes correctly:

 

Instance NameInstance StatusStarting NameEntry IDOriginal PathWorkflow StatusMessagesStart TimeTime of Last ActionWorkflow NameWorkflow Version

(None)Completed1/25/2018 11:03:10 AM1/25/2018 11:03:13 AMHR - PAF - Transfer - Write to Database2

You are not allowed to follow up in this post.

Sign in to reply to this post.