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

Question

Question

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

asked on April 27, 2018 Show version history

What is the correct way of resolving this error? Currently, I have both a local and AD admin accounts full control over this volume, as well as our internal LF project team. See attached screenshot.

____________________________________________________________________________________________________________

Details:
URL: 
Error: ErrorExecuteSTR
Date: 4/27/2018 10:43:19 AM (Eastern Standard Time)
HTTP Status Code: 500
Business Process ID: 49
Instance ID: 1359
Business Process Name: Information Technology - Employee Confidentiality Agreement

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.MultiStatusException
Message: Access is denied [-2147024891]
   at Laserfiche.RepositoryAccess.EntryInfo.Save()
   at Laserfiche.DocumentServices.DocumentImporter.ImportEdoc(Stream stream, String path, String contentType, DateTime lastModified)
   at Laserfiche.DocumentServices.DocumentImporter.ImportEdoc(String contentType, String edocPath)
   at Laserfiche.Forms.CommonUtils.LFHelper.ImportEFile(DocumentInfo lfDoc, String inputEFileFullPath)
   at Laserfiche.Forms.CommonUtils.LFHelper.TryImportDocument(DocumentInfo lfDoc, String pdfFile, String tifFile)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext, RoutingInstanceStatus OriginalStatus)

Security Properties_ITVol.JPG
1 0

Replies

replied on April 27, 2018

This is likely Laserfiche internal folder permissions.

If you go to the Laserfiche folder it is trying to save into and view the effective permissions for the account the Forms User is logging in as, do they have privileges?

If you log in as the user Forms is authenticating as, can they do the same task?

1 0
replied on April 27, 2018

It is correct, the error message is "Access is denied"

 

0 0
replied on April 30, 2018

The Forms, Admin, IT, and my Named User Account all have 'full control" over the repository folder, the IT_Volume, and the Share Drive on our Server where the binary data for the volume is stored.

In hindsight, STR permission access for myself would not be an issue, especially when we have multiple volumes created the same as the IT_Volume, and saving to them is not an issue. I'm more or less confused by the access denied because I can't point the root cause.

 

-Josh 

0 0
replied on May 29, 2018

Josh,

Did you ever discover the problem? We are having the exact same issue with a save to repository task with a client I'm working with.

0 0
replied on May 29, 2018

Brian,

Unfortunately no. I provided the above reply on April 30th, but no one from the Laserfiche community responded. If you wish to use anything above to detail the problem at hand, fill free, but our team has postponed resolving this volume error because our other volumes operate normally.

Josh 

0 0
replied on May 29, 2018

Josh, what user is specified in the Save to Laserfiche task in the Forms process? That's the only user that matters since Forms is using that connection, not impersonating the users submitting forms.

As a side note, users don't need rights to the volume's location on disk. Only the user specified in the Laserfiche Server's service login needs rights to write to the location on disk.

0 0
replied on May 29, 2018

We've tried a few users for our save to repository step. We've tried the admin account, a forms account, and a windows account with full rights to the folder location. Nothing seems to work. The step gets suspended each time.

1 0
replied on May 29, 2018

Are you setting fields as well? Does it need to create folders to save these documents?

0 0
replied on May 30, 2018

No fields are being set but folders are created successfully. Its just that no document shows up.

0 0
replied on May 30, 2018

Brian & Miruna,

I have tested the security rights of multiple full permission users and no luck.

  • Local Server ADMIN account created when you first setup the Laserfiche server
  • Forms local admin account that is a Named User with full permissions
  • An Active Directory service account with full admin permissions in LF and on our network

 

Also, not looking to create a template to map fields. In our case, it is a simple form to save down as a PDF copy.

The business process is as follows:

  1. Message Start Event
  2. STR Task
    1. Save binary data to IT_Vol (on separate file server)
    2. Type as a PDF
    3. Save to our Repo
  3. End
0 0
replied on May 30, 2018

Mine is also setup this way.

0 0
replied on May 30, 2018

For both issues, can you confirm that you've tried logging into the client with these connection profile users and successfully created a document and saved to that volume? 

Ultimately I think these cases will have to be investigated independently through our support channels. 

0 0
replied on March 8, 2019

Josh,

Did you ever get a solution to this?

1 0
replied on September 17, 2019

It worked for me when i changed the Volume in the task properties.

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

Sign in to reply to this post.