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

Question

Question

Exception of type 'Laserfiche.RepositoryAccess.AccessDeniedException' was thrown.

asked on March 4, 2015

Hi

I am running a workflow with a 'Move Entry' activity that, based on small set of conditions, copies an Entry (folder) from one place in the directory and places the copy in another place.  I am using a 'For Each Entry' activity that runs through a set of existing folders and, when certain conditions are met, the Move Entry activity copies the folder and places the copy in its destination.

I am getting a Repository Access Denied error on the Copy Entry activity for approx 10 of the 50 folders in the set.  But I can see absolutely no difference in the permissions on these 10 folders compared to the others.

The permissions are the same, there is no lock visible on the 10 folders, there is no lock showing in the Admin Console, and there are no other workflows running that access these folders - no conflict that I can see.

Any ideas of why these folders would throw this error would be greatly appreciated.

Thanks

Kathy

0 0

Answer

SELECTED ANSWER
replied on March 5, 2015

Is it possible that the user specified in the workflow's connection profile doesn't have enough rights to one of the documents or subfolders in the folder you're trying to copy?

1 0

Replies

replied on March 5, 2015

Thank you, Miruna.  That is brilliant.  There is indeed a sub folder buried in these few problematic folders that have Admin access BUT we have since created an Admin group and use a different member of that group for the workflow.  I can fix this! 

I am about to initiate a critical workflow that processes the dossiers of 4000 faculty members and did not want this problem to appear.

So thank you very much.
Kathy

1 0
replied on March 4, 2015

What version of Workflow are you using? Can you post screenshots of the error message?

0 0
replied on March 4, 2015

I am using Workflow version 9.1.1.365.  here are the screen shots.

 

0 0
replied on March 4, 2015

If you look in the Workflow Admin Console, under Monitoring\Error Logs, could you find the message in the Activity Errors log and copy its details and paste them here?

0 0
replied on March 4, 2015

Timestamp: 2015-03-04 14:01:57.240
Local Time: 3/4/2015 9:01:57 AM
Category: Activity
Machine: ASP02
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 1820
Process Name: D:\Program Files\Laserfiche\Laserfiche Workflow 8.3\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 6392 -
Thread Name:
Message: <Exception handlingInstanceId="0e61fea6-580d-4ca8-8e11-c5bca5d201fc">
  <Description>An exception of type 'Laserfiche.Connection.LFSOException' occurred and was caught.</Description>
  <DateTime>2015-03-04 09:01:57Z</DateTime>
  <ExceptionType>Laserfiche.Connection.LFSOException, Laserfiche.Workflow.Common, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Exception of type 'Laserfiche.RepositoryAccess.AccessDeniedException' was thrown.</Message>
  <Source />
  <HelpLink />
  <Property name="LFROError">False</Property>
  <Property name="LFSOError">False</Property>
  <Property name="ErrorCode">797</Property>
  <Property name="StackTrace">   at Laserfiche.RepositoryAccess.Entry.SendCopyRequest(HttpUrl url, HttpUrl newPath, String targetVol, EntryNameOption flag, Int32&amp; id, Boolean useLongOperation, String path, String&amp; realPath, Session session)
   at Laserfiche.RepositoryAccess.EntryInfo.CopyTo(String newPath, String targetVol, EntryNameOption options)
   at Laserfiche.Connection.Lfso.RepositoryAccess91.LFEntryRA.CreateCopyOf(ILFEntry sourceEntry, String name, ILFFolder parentFolder, Boolean autoRename)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.CopyEntry(ILFEntry sourceEntry, ILFFolder destinationFolder)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.MoveEntry(ILFEntry entry, EntryPath destination, MoveEntryAction action, MoveEntryOptionFlags moveOptionFlags)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.OnExecute(List`1 results)
   at Laserfiche.Workflow.Activities.LaserficheTaskModuleImpl`1.OnExecute(T options, List`1 results)
   at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase.Execute(ILaserficheTaskOptions options)
   at Laserfiche.Workflow.Runtime.LaserficheTaskExecutorBase.Execute(Object options, SubsystemContextBase statusContext)</Property>
  <Property name="InstanceId">ee93c4ef-fe46-4d2f-a262-33c5055248a3</Property>
  <Property name="ActivityName">CopyDossiertoReAppointmentArea</Property>
  <Property name="TargetSite">&lt;undefined value&gt;</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace />
  <additionalInfo>
    <info name="MachineName" value="ASP02" />
    <info name="TimeStamp" value="3/4/2015 2:01:57 PM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Service.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="ASP02\laserfiche" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>Laserfiche.RepositoryAccess.AccessDeniedException, Laserfiche.RepositoryAccess, Version=9.1.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6</ExceptionType>
    <Message>Exception of type 'Laserfiche.RepositoryAccess.AccessDeniedException' was thrown.</Message>
    <Source>Laserfiche.RepositoryAccess</Source>
    <HelpLink />
    <Property name="ErrorCode">0</Property>
    <Property name="TargetSite">Laserfiche.RepositoryAccess.LongOperation SendCopyRequest(Laserfiche.RepositoryAccess.HttpUrl, Laserfiche.RepositoryAccess.HttpUrl, System.String, Laserfiche.RepositoryAccess.EntryNameOption, Int32 ByRef, Boolean, System.String, System.String ByRef, Laserfiche.RepositoryAccess.Session)</Property>
    <Property name="HResult">-2146233088</Property>
    <StackTrace>   at Laserfiche.RepositoryAccess.Entry.SendCopyRequest(HttpUrl url, HttpUrl newPath, String targetVol, EntryNameOption flag, Int32&amp; id, Boolean useLongOperation, String path, String&amp; realPath, Session session)
   at Laserfiche.RepositoryAccess.EntryInfo.CopyTo(String newPath, String targetVol, EntryNameOption options)
   at Laserfiche.Connection.Lfso.RepositoryAccess91.LFEntryRA.CreateCopyOf(ILFEntry sourceEntry, String name, ILFFolder parentFolder, Boolean autoRename)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.CopyEntry(ILFEntry sourceEntry, ILFFolder destinationFolder)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.MoveEntry(ILFEntry entry, EntryPath destination, MoveEntryAction action, MoveEntryOptionFlags moveOptionFlags)
   at Laserfiche.Workflow.Activities.MoveEntry.MoveEntryTaskModule.OnExecute(List`1 results)
   at Laserfiche.Workflow.Activities.LaserficheTaskModuleImpl`1.OnExecute(T options, List`1 results)
   at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase.Execute(ILaserficheTaskOptions options)
   at Laserfiche.Workflow.Runtime.LaserficheTaskExecutorBase.Execute(Object options, SubsystemContextBase statusContext)</StackTrace>
  </InnerException>
</Exception>
----------------------------------------

 

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

Sign in to reply to this post.