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

Question

Question

Error 9051 on Email Activity in Workflow

asked on January 11, 2019

We have a workflow that searches for entries, copies them to a folder, then emails the contents of the folder. Most of the time it works well. Sometimes it terminates at the email stage with the error - "The specified operation is not recognized [9051]". Can someone assist with an explanation of what could cause this error during an email activity? 

Thanks,

 

Mary

0 0

Replies

replied on January 11, 2019

The email activity does a few things under the hood, so it probably has something to do with the documents you're trying to attach to the email. But it's hard to tell just from the error code. If you look in the activity errors log in the Workflow Admin Console (Monitoring\Error Logs), there should be a more detailed error. Could you paste its contents in here?

0 0
replied on January 30, 2019

---------------------------------------
Timestamp: 2019-01-30 19:13:58.564
Local Time: 1/30/2019 2:13:58 PM
Category: Activity
Machine: DCH-WF-01P
Severity: Error
Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 2628
Process Name: E:\Program Files\Laserfiche\Laserfiche Workflow 8.3\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 19000 - 
Thread Name: 
Message: <Exception handlingInstanceId="31810ea4-6e7f-4cda-a6e9-50f50a6d0c20">
  <Description>An exception of type 'System.Exception' occurred and was caught.</Description>
  <DateTime>2019-01-30 14:13:58Z</DateTime>
  <ExceptionType>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
  <Message>The specified operation is not recognized. [9051]</Message>
  <Source>Laserfiche.Workflow.Activity.Base</Source>
  <HelpLink />
  <Property name="ActivityName">Email_Entry_0</Property>
  <Property name="ActivityType">Laserfiche.Workflow.Activities.DownloadEntry.DownloadEntryActivity</Property>
  <Property name="InstanceId">37a1dbf0-5be1-44d0-8e0b-c589015da2e2</Property>
  <Property name="TargetSite">Void ProcessTaskQueueEvent(System.Workflow.ComponentModel.ActivityExecutionContext)</Property>
  <Property name="HResult">-2146233088</Property>
  <StackTrace>   at Laserfiche.Workflow.Activities.TaskActivityBase.ProcessTaskQueueEvent(ActivityExecutionContext context)
   at Laserfiche.Workflow.Activities.TaskActivityBase.OnEvent(Object sender, QueueEventArgs e)
   at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
  <additionalInfo>
    <info name="MachineName" value="DCH-WF-01P" />
    <info name="TimeStamp" value="1/30/2019 7:13:58 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="" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>The specified operation is not recognized. [9051]</Message>
    <Source>Laserfiche.Workflow.Runtime</Source>
    <HelpLink />
    <Property name="Trace">Laserfiche.RepositoryAccess.LaserficheRepositoryException: The specified operation is not recognized. [9051]
   at Laserfiche.RepositoryAccess.EntryListingBase.GetRowsetData(HttpUrl url, IEnumerable`1 requestHeaders, Int32 begin, Int32 count, EntryDepth entryDepth)
   at Laserfiche.RepositoryAccess.EntryListingBase.GetRowsetData(HttpUrl url, Int32 begin, Int32 count, EntryDepth entryDepth)
   at Laserfiche.RepositoryAccess.FolderListing.GetMoreRowData(Int32 rowIndex, Int32 winSize)
   at Laserfiche.RepositoryAccess.EntryListingBase.PreloadData(Int32 firstRowIndex, Int32 rowCount)
   at Laserfiche.RepositoryAccess.ScrollingCache.GetRowData(Int32 rowIndex)
   at Laserfiche.RepositoryAccess.EntryListingBase.GetDatum(Int32 rowNumber, SystemColumn columnType)
   at Laserfiche.Workflow.DocumentProcessor.DownloadEntryVolumeRA.ExportFolder(FolderInfo folder, String relativePath, String name, WFVolumeCache cache)
   at Laserfiche.Workflow.DocumentProcessor.DownloadEntryVolumeRA.ExportFolderEntry(FolderInfo folder)
   at Laserfiche.Workflow.DocumentProcessor.DownloadEntryVolumeRA.ExportEntry()
   at Laserfiche.Workflow.DocumentProcessor.DownloadEntryExporter.ExportEntry()
   at Laserfiche.Workflow.Program.DoProcess(String[] args)</Property>
    <Property name="StartTime">1/30/2019 7:13:55 PM</Property>
    <Property name="EndTime">1/30/2019 7:13:58 PM</Property>
    <Property name="Duration">00:00:03.4008436</Property>
    <Property name="InstanceId">37a1dbf0-5be1-44d0-8e0b-c589015da2e2</Property>
    <Property name="ActivityName">Email_Entry_0</Property>
    <Property name="Workflow">MBTESTHFRDEMAIL</Property>
    <Property name="ContextGuid">37a1dbf0-5be1-44d0-8e0b-c589015da2e2</Property>
    <Property name="TargetSite">Laserfiche.Workflow.Runtime.Systems.Tasks.ITaskResult Execute(Laserfiche.Workflow.ComponentModel.ITaskOptionsSerialize, Laserfiche.Workflow.Runtime.Systems.Tasks.TaskExecutorContext)</Property>
    <Property name="HResult">-2146233079</Property>
    <StackTrace>   at Laserfiche.Workflow.Activities.CallExternalProcessTaskExecutor.Execute(ITaskOptionsSerialize options, TaskExecutorContext status)</StackTrace>
  </InnerException>
</Exception>

0 0
replied on January 30, 2019 Show version history

Miruna,

The issue does have something to do with the contents of the folder in Laserfiche. I made a copy of the workflow that just emails the contents of the folder that was created by the previous workflow that errored at the email stage. The new workflow is generating the same error message. I've copied the details above. Does Laserfiche Workflow have known issues with emailing folder contents that have more than one level of subfolders?

Thanks,

Mary

 

0 0
replied on January 30, 2019

We don't currently have a known issue. Would it be possible for you to narrow it down to the entry causing this? It looks like it's running into an issue exporting one of the documents.

If you'd like help narrowing it down, have your reseller start a case with Tech Support.

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

Sign in to reply to this post.