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

Question

Question

Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException

asked on May 31, 2018

Hi all,

I have the simplest form in the world (see attached - seriously could not get any simpler!!). I upgraded to 10.3.1 & now I can't save my form to the repository. I get this message which seems to be coming from the final step of the business process:

Error 5/31/2018 2:28:15 PM

An error occurred during the execution of the Save to Repository service task. [LFF5426-ErrorExecuteSTR] Details: URL: Error: ErrorExecuteSTR Date: 5/31/2018 2:28:15 PM (Mountain Standard Time) HTTP Status Code: 500 Business Process ID: 3 Instance ID: 378 Business Process Name: ER_SafetyConcernForm 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: Mismatched entry type; the actual type is Folder. [9001] at Laserfiche.RepositoryAccess.EntryInfo.Refresh(Boolean keepChanges) at Laserfiche.RepositoryAccess.DocumentInfo.Refresh(Boolean keepChanges) at Laserfiche.RepositoryAccess.Document.GetDocumentInfo(FolderInfo parentFolder, String docName, Session session) 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)

 

I have looked at every step of this form & have no idea why it would suddenly stop working.

Any ideas?

Thanks!!

form business process.jpg
0 0

Replies

replied on June 1, 2018

I got this from your error: "Laserfiche.RepositoryAccess.ObjectNotFoundException Message: Mismatched entry type; the actual type is Folder. [9001]"

Two things to look at-

1. In your Save to ER Task, make sure that the user you used to create the save profile has access to the folder you are trying to place the form into. So if "ER" is the matching folder in LF repo where you want to save the form, then make sure whichever account you used has read/write access to it.

2. Mismatched entry type is a bit odd to me, look into your saving properties and file types.

 

0 0
replied on June 29, 2018

Having a similar issue.  I have checked and verified all permissions even trying to drop the form into an existing folder where another process (pre Upgrade) runs just fine using the same account.

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

0 0
replied on June 29, 2018

OK, I found the cause by looking in the Laserfiche Forms Operational log.  I really wish some of this information was surfaced in the Laserfiche Forms error message.  It turns out that the problem was in the template field mapping.  I am embarrassed by the amount of time wasted tracking this down.

Business Process Name: Forms Process Change Request

Other:
Bad field value ('Requester Name'): Another operation on which this operation depends failed. [9054]
Bad field value ('Request Type'): Another operation on which this operation depends failed. [9054]
Bad field value ('Other'): Another operation on which this operation depends failed. [9054]
Bad field value ('Priority'): Another operation on which this operation depends failed. [9054]
Bad field value ('System'): Another operation on which this operation depends failed. [9054]

0 0
replied on September 6, 2019

When you get error "Mismatched entry type; the actual type is Folder. [9001]" when save file to repository, please check from repository at the file path that the file is going to save to see whether there is a Folder with same name as the file already exist, the file name can be same as the folder name if "retain file extensions in electronic document names" is not selected in the user's option for the user configured in the save to repository profile.

0 0
replied on June 24, 2020

The error message has been updated in Forms 10.4.4, now it will show something as "Failed to save file "Forms.txt" into repository because a folder named "Forms" already existed in the target path. [LFF393-FileSameNameAsFolder]".

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

Sign in to reply to this post.