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

Question

Question

Workflow not responsive, Error Code 2147467259

asked on October 27, 2023

Happy Friday!

 

I am facing a strange problem with a Workflow that I have designed and completed. The workflow is supposed to monitor a folder in the Laserfiche Repository. If a document is created, then the workflow will be triggered. The workflow is fine. I validated it and ensured that there are no errors or problems in it. I published and everything was smooth throughout this process; however, it does not get triggered when the condition in the Rule Manager is satisfied.

 

I created this workflow very recently in October 2023. I have two other workflows that are exact replica of this workflow, but were created before 2020. All of the three workflow are the same, they just deal with different document types and different folders in the repository. The two workflows that were created before 2020 work as expected. The workflow that I created in October 2023 does not work.

 

We went through an upgrade in late 2019, but the second workflow runs fine and it is exact replica of this workflow it only deals with a different document type and different folder. The Admin account we use to connect to the repository have the required privileges.

 

I noticed in my troubleshooting that the following error keeps repeating whenever I run a test. Not sure if this is related, but I would appreciate it if someone helps me or guide me on what to do as I am running out of options. Thank you.

 

----------------------------------------

Timestamp: 2023-10-26 16:16:30.528

Local Time: 2023-10-26 12:16:30

Category: Activity

Machine: ******

Severity: Error

Application Domain: Laserfiche.Workflow.Service.exe

Process Id: 3204

Process Name: D:\Program Files\Laserfiche\Laserfiche Workflow 10.4\Laserfiche.Workflow.Service.exe

Win32 Thread Id: 5748 -

Thread Name:

Message: <Exception handlingInstanceId="37c811e3-8b23-4e8a-9cc2-dfba559618d8">

  <Description>An exception of type 'System.Exception' occurred and was caught.</Description>

  <DateTime>2023-10-26 12:16:30Z</DateTime>

  <ExceptionType>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>

  <Message>Error sending HTTP request to server.</Message>

  <Source>Laserfiche.Workflow.Activity.Base</Source>

  <HelpLink />

  <Property name="ActivityName">SearchRepositoryForExpiringDriversLicenses</Property>

  <Property name="ActivityType">Laserfiche.Workflow.Activities.FindEntry.SearchTaskActivity</Property>

  <Property name="InstanceId">950bb113-83c3-4b34-899d-d047271fb33d</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="******" />

    <info name="TimeStamp" value="2023-10-26 16:16:30" />

    <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="NT AUTHORITY\SYSTEM" />

  </additionalInfo>

  <InnerException>

    <ExceptionType>Laserfiche.Connection.LFSOException, Laserfiche.Workflow.Common, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>

    <Message>Error sending HTTP request to server.</Message>

    <Source />

    <HelpLink />

    <Property name="LFROError">False</Property>

    <Property name="LFSOError">False</Property>

    <Property name="ErrorCode">780</Property>

    <Property name="StackTrace">   at Laserfiche.HttpClient.HttpRequest.DoSendRequest()

   at Laserfiche.HttpClient.HttpRequest.SendRequestWithCredentials(Boolean useKerberos, Boolean negotiateAuth)

   at Laserfiche.HttpClient.HttpRequest.SendRequest()

   at Laserfiche.RepositoryAccess.Session.SendLogInRequest(String idnRepName, HttpCredential credentials)

   at Laserfiche.RepositoryAccess.Session.LoginToServer(RepositoryRegistration repository, HttpCredential credentials)

   at Laserfiche.Connection.Lfso.RepositoryAccess91.LFConnectionRA.Login()

   at Laserfiche.Connection.ConnectionManager.CreateConnectionEx(ConnectionInfo connectionInfo)

   at Laserfiche.Connection.ConnectionManager.OpenConnectionInternal(ConnectionInfo connectionInformation)

   at Laserfiche.Connection.ConnectionManager.OpenConnection(ConnectionInfo connectionInformation)

   at Laserfiche.Connection.Lfso.LFConnection.OpenConnection(ConnectionInfo info, LfsoVersion version)

   at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase.OpenConnection(LaserficheTaskProfile profile)

   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="StartTime">2023-10-26 16:16:30</Property>

    <Property name="EndTime">2023-10-26 16:16:30</Property>

    <Property name="Duration">00:00:00</Property>

    <Property name="InstanceId">950bb113-83c3-4b34-899d-d047271fb33d</Property>

    <Property name="ActivityName">SearchRepositoryForExpiringDriversLicenses</Property>

    <Property name="Workflow">EMSMedicalNonMedicalDriversLicenseExpiryCheck90Day</Property>

    <Property name="ContextGuid">950bb113-83c3-4b34-899d-d047271fb33d</Property>

    <Property name="TargetSite">&lt;undefined value&gt;</Property>

    <Property name="HResult">-2146233088</Property>

    <StackTrace />

    <InnerException>

      <ExceptionType>Laserfiche.HttpClient.HttpException, Laserfiche.HttpClient, Version=10.4.0.0, Culture=neutral, PublicKeyToken=3f98b3eaee6c16a6</ExceptionType>

      <Message>Error sending HTTP request to server.</Message>

      <Source>Laserfiche.HttpClient</Source>

      <HelpLink />

      <Property name="TargetSite">Void DoSendRequest()</Property>

      <Property name="HResult">-2146233088</Property>

      <StackTrace>   at Laserfiche.HttpClient.HttpRequest.DoSendRequest()

   at Laserfiche.HttpClient.HttpRequest.SendRequestWithCredentials(Boolean useKerberos, Boolean negotiateAuth)

   at Laserfiche.HttpClient.HttpRequest.SendRequest()

   at Laserfiche.RepositoryAccess.Session.SendLogInRequest(String idnRepName, HttpCredential credentials)

   at Laserfiche.RepositoryAccess.Session.LoginToServer(RepositoryRegistration repository, HttpCredential credentials)

   at Laserfiche.Connection.Lfso.RepositoryAccess91.LFConnectionRA.Login()

   at Laserfiche.Connection.ConnectionManager.CreateConnectionEx(ConnectionInfo connectionInfo)

   at Laserfiche.Connection.ConnectionManager.OpenConnectionInternal(ConnectionInfo connectionInformation)

   at Laserfiche.Connection.ConnectionManager.OpenConnection(ConnectionInfo connectionInformation)

   at Laserfiche.Connection.Lfso.LFConnection.OpenConnection(ConnectionInfo info, LfsoVersion version)

   at Laserfiche.Workflow.Activities.LaserficheTaskModuleBase.OpenConnection(LaserficheTaskProfile profile)

   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>

        <ExceptionType>System.ComponentModel.Win32Exception, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>

        <Message>The server name cannot be resolved.</Message>

        <Source />

        <HelpLink />

        <Property name="NativeErrorCode">12007</Property>

        <Property name="ErrorCode">-2147467259</Property>

        <Property name="TargetSite">&lt;undefined value&gt;</Property>

        <Property name="HResult">-2147467259</Property>

        <StackTrace />

      </InnerException>

    </InnerException>

  </InnerException>

</Exception>

----------------------------------------

0 0

Replies

replied on October 27, 2023

Windows cannot find the Laserfiche Server this workflow is attempting to connect to in order to run a search. If the Laserfiche Server was moved to a different machine, this may be expected. Putting in redirects to tell Workflow where the new location is will keep the existing workflows running while you update their connection profiles to use the new server. If the Laserfiche Server was not moved, the error might indicate an underlying network or DNS issue.

0 0
replied on October 31, 2023

We resolved this error, but the behaviour of the workflow did not change. It is not getting triggered when the conditions are met. This time, no error is generated. Everything checks, but it does not see the files when they are dropped into the folder.

0 0
replied on October 31, 2023

If you open the Subscriber Trace (from the Workflow Admin Console), does it have any tabs for the repositories it's connected to? Does it show any errors on those repository tabs?

0 0
replied on October 31, 2023

There is no error under the repository tab, but I found an error in the Events tab. The error is related to the Workflow Rule. In the Starting Rules tab, it says:

[FALSE] If all of these conditions are true:
    [TRUE] Entry Type: 'Document' <equals> 'Document'
    [FALSE] Document Extension: 'Empty' <equals> 'jpg'

In the wait Conditions tab, it says: There are no wait conditions.

The rule is already enabled for the workflow. It is also the same rule that is used in the older workflows, no change. The only change is the content types. The older workflows dealt with pdf documents. This workflow deals with jpg files (images). Please see attached.

 

 

2023-10-31 17_52_47-Window.png
0 0
replied on October 31, 2023

It sounds like you were importing JPGs are electronic documents before and that may have changed to import them as image pages instead. 'Normal" image pages would not have a jpg extension. Check the import settings for the user creating these documents and ensure that JPG is not in the file conversion list.

0 0
replied on November 1, 2023

HI - Do you know where do I find these settings? Thank you.

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

Sign in to reply to this post.