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

Question

Question

Workflow is not working properly

asked on October 5, 2015 Show version history

I have a laserfiche workflow for sending automatic email to customer with invoices.  Recently I am facing issue. If I am sending 10 email at same time then 3-4 is missing.

 

I am getting below error message in event viewer. Could you please advise.

 

Application Domain: Laserfiche.Workflow.Subscriber.exe

Process Id: 1800

Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Subscriber.exe

Win32 Thread Id: 3040 - ******** Notification Thread

Thread Name: ******** Notification Thread

Message: <Exception handlingInstanceId="32c26f02-6931-43fe-bcdf-0198e14b0a78">
  <Description>An exception of type 'Laserfiche.Connection.LFSOException' occurred and was caught.</Description>
  <DateTime>2015-10-04 08:12:54Z</DateTime>
  <ExceptionType>Laserfiche.Connection.LFSOException, Laserfiche.Workflow.Common, Version=8.3.0.0, Culture=neutral, PublicKeyToken=d8428ff9263e6cda</ExceptionType>
  <Message>Could not connect to the Laserfiche Server. [797]</Message>
  <Source />
  <HelpLink />
  <Property name="LFROError">False</Property>
  <Property name="HttpServError">False</Property>
  <Property name="LFSOError">True</Property>
  <Property name="ErrorCode">797</Property>
  <Property name="TargetSite">&lt;undefined value&gt;</Property>
  <StackTrace />
  <additionalInfo>
    <info name="MachineName" value="********" />
    <info name="TimeStamp" value="10/4/2015 5:12:54 AM" />
    <info name="FullName" value="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    <info name="AppDomainName" value="Laserfiche.Workflow.Subscriber.exe" />
    <info name="ThreadIdentity" value="" />
    <info name="WindowsIdentity" value="********" />
  </additionalInfo>
  <InnerException>
    <ExceptionType>System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message>Could not connect to the Laserfiche Server.</Message>
    <Source />
    <HelpLink />
    <Property name="ErrorCode">-2147220707</Property>
    <Property name="TargetSite">Void Create(LFSO90Lib.LFDatabase)</Property>
    <StackTrace>   at LFSO90Lib.LFConnectionClass.Create(LFDatabase Database)
   at Laserfiche.Connection.Lfso.LFSO90.LFConnection90.Login()
   at Laserfiche.Connection.ConnectionManager.CreateConnectionEx(ConnectionInfo connectionInfo)
   at Laserfiche.Connection.ConnectionManager.OpenConnection(ConnectionInfo connectionInformation)
   at Laserfiche.Connection.Lfso.LFConnection.OpenConnection(ConnectionInfo info, LfsoVersion version)
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.NotificationThread.ListenToNotifications()
   at Laserfiche.Workflow.Subscriber.Runtime.Threads.NotificationThread.Run(Object state)</StackTrace>
  </InnerException>
</Exception>

0 0

Replies

replied on October 7, 2015

This looks more like a problem with your Exchange server rather than LF workflow. Check that the SMTP relay connector is setup correctly to allow Email Relay from the LF workflow server.

2 0
replied on October 7, 2015

The issue resolved. SMTP server was blocking the connection. 

Now everything ok.

 

Thanks Chris and Miruna for your support.

 

1 0
replied on October 5, 2015

Hi Mohammed,

 

Do you have any Anti-virus running on the LF workflow server or exchange server? If so try disabling this and see if the error persists.

 

Cheers!

0 0
replied on October 5, 2015

The error above is irrelevant if it only happens once. The Subscriber will reconnect if the Laserfiche Server is temporarily down. It also wouldn't have anything to do with missing emails.

0 0
replied on October 5, 2015

Hi Chris,

Let me try after disabling the anti virus.

 

@Miruna,

The error is happening 10 to 15 times in a day.

 

0 0
replied on October 6, 2015

That's still not related to emails, but maybe an indicator that something is going on with the network connection between the Workflow Server and the Laserfiche Server. Or possibly a sign that the Laserfiche Server or its underlying SQL is overloaded.

(Btw, i've edited your message above and redacted user and machine names because this is a public site)

1 0
replied on October 6, 2015

Thanks Miruna for your support.

 

Kindly please see the error log from Lasefiche workflow.

********

<Message>Unable to send to a recipient.[&*********&gt;]</Message>

<Message>Mailbox unavailable. The server response was: 5.7.1 Unable to relay</Message>

************

Application Domain: Laserfiche.Workflow.Service.exe
Process Id: 1200
Process Name: C:\Program Files\Laserfiche\Laserfiche Workflow 9\Laserfiche.Workflow.Service.exe
Win32 Thread Id: 2680 - 
Thread Name: 
Message: <Exception handlingInstanceId="c3f68527-60cb-4fba-b483-4e0da3ee57f7">
  <Description>An exception of type 'System.Exception' occurred and was caught.</Description>
   <Message>Unable to send to a recipient.[&*********&gt;]</Message>


  <Source>Laserfiche.Workflow.Activity.Base</Source>
  <HelpLink />
  <Property name="ActivityName">*********</Property>
  <Property name="ActivityType">Laserfiche.Workflow.Activities.Email.EmailActivity</Property>
  <Property name="InstanceId">796f310a-87be-41e4-b9f4-17ce58fa9c14</Property>
  <Property name="TargetSite">Void ProcessTaskQueueEvent(System.Workflow.ComponentModel.ActivityExecutionContext)</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="10/6/2015 10:47:10 AM" />
    <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>Unable to send to a recipient.[&lt;*****&gt;]</Message>
    <Source />
    <HelpLink />
    <Property name="EmailSyncLevel">1</Property>
    <Property name="StartTime">10/6/2015 10:46:24 AM</Property>
    <Property name="EndTime">10/6/2015 10:47:10 AM</Property>
    <Property name="Duration">00:00:45.3804797</Property>
    <Property name="InstanceId">796f310a-87be-41e4-b9f4-17ce58fa9c14</Property>
    <Property name="ActivityName">******</Property>
    <Property name="Workflow">**</Property>
    <Property name="ContextGuid">****</Property>
    <Property name="TargetSite">&lt;undefined value&gt;</Property>
    <StackTrace />
    <InnerException>
      <ExceptionType>System.Net.Mail.SmtpFailedRecipientsException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
      <Message>Unable to send to a recipient.</Message>
      <Source>System</Source>
      <HelpLink />
      <Property name="InnerExceptions">System.Net.Mail.SmtpFailedRecipientException[]</Property>
      <Property name="FailedRecipient">&lt;*****&gt;</Property>
      <Property name="StatusCode">GeneralFailure</Property>
      <Property name="TargetSite">Void Send(System.Net.Mail.MailMessage)</Property>
      <StackTrace>   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at Laserfiche.Workflow.Activities.Email.Runtime.EmailTaskExecutor.Execute(EmailTaskOptions options, TaskExecutorContext status)</StackTrace>
      <InnerException>
        <ExceptionType>System.Net.Mail.SmtpFailedRecipientException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
        <Message>Mailbox unavailable. The server response was: 5.7.1 Unable to relay</Message>
        <Source />
        <HelpLink />
        <Property name="FailedRecipient">&*****&gt;</Property>
        <Property name="StatusCode">MailboxUnavailable</Property>
        <Property name="TargetSite">&lt;undefined value&gt;</Property>
        <StackTrace />
      </InnerException>
    </InnerException>
  </InnerException>
</Exception>
----------------------------------------

 

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

Sign in to reply to this post.