Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Communication Service Errors

  • Last UpdatedJun 06, 2024
  • 3 minute read

Before going through this section, see Prerequisites for Debugging Exceptions.

1. You get the following error while setting Mail Settings in the Farm Configuration Wizard.

AVEVA Work Tasks Communication Service test failed. Service test failed

Following is the message displayed in the Logger Console:

! - Test SMTP failed, - Failure sending mail., Inner Exception :Unable to connect to the remote server, Module - C:\Program Files\AVEVA\AVEVA Work Tasks\Bin\AVEVAWorkTasksFarmConfigMgr.exe ,Assembly version = 6.0.1027.0, Source - at System.Net.Mail.SmtpClient.Send(MailMessage message) at Workflow.NET.EmailHandler.SendMail(String smtpServer, Int32 smtpPort, Boolean isssL, String authenticationUserName, String authenticationuserPassword, Boolean ispasswordEncrypted, String fromAddress, String toaddress, String subject,String body) at AVEVA Work Tasks_Console_Setup.GlobalSettings.linkTestSMTP_LinkClicked(Object sender, LinkLabelLinkClickedEventArgs e), BANVM-RND6, Process - AVEVAWorkTasksFarmConfigMgr

Solution

Check Host and Port settings for Email Settings. Host refers to Mail server and the port refers to the port in which mail server is listening for mails. (Example: Host value can be set as Machine name/IP of Microsoft exchange server. The default port for Microsoft Exchange server is 25). Microsoft exchange server name can be found in Microsoft Office Outlook > Tools > Account Settings option.

With reference to above image "mail.skelta.com" will be set as Host and Port will remain as 25. After settings Host & Port, Set values for "From Email" and "To Email" fields to test SMTP.

Exception logged in logger console:

! - Test SMTP failed, - Mailbox unavailable. The server response was: 6.7.1 Unable to relay for michellerose@gmail.com, Module - C:\Program Files\AVEVA\AVEVA Work Tasks\Bin\AVEVAWorkTasksFarmConfigMgr.exeC:\Program Files\AVEVA\AVEVA Work Tasks\Bin\AVEVAWorkTasksFarmConfigMgr.exe , Assembly version = 3.0.*, Source - at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message)

Solution

Mail server configured does not support sending mail to an external mail id other than corporate account. Change the "To Email" to a proper corporate account and try.

2. Mail Channel or Wait-For-Email activity not working. Following error may pop up on start of the Communication Service.

? - Could not listen on port 8770. Please make sure that this port is available. Will try to listen on this port after some time., Module - M:\SkeltaDev3.0\Bin\Workflow.NET.Communication.NET2.dllM:\SkeltaDev3.0\Bin\Workflow.NET.Commuication.NET2.dll , Assembly version = 3.0.*.

Probable Cause

May be Port 8770 used for AVEVA Work Tasks - Communication Service may be used by some other application. This port is used for communication between the workflow engine and the communication engine.

Resolution

Change the Communication Service port number.

  1. On the Windows Start menu, point to Programs, point to AVEVA, and then click Farm Configuration Wizard.

    The Welcome to the AVEVA Work Tasks Farm Configuration Wizard appears.

  2. Click Next.

    The Edit AVEVA Work Tasks Farm Settings window is displayed.

  3. Select Service Settings.

  4. Click Next. The Services/Global Settings page appears.

    The Enterprise Server Settings can be selected if the Farm Server Installation is using Enterprise Server Installation.

  5. Click against AVEVA Work Tasks - Communication Service to modify the Communication Service settings

  6. Change the Port in Communication Server tab.

    Listener IP Address is AVEVA Work Tasks installed machine's IP Address.

Issue

The Communication Service no longer processes Mail Channel mails from the POP3 account after the From Email property has been changed for a repository.

Probable Cause

The POP3 account for the Communication Service has not been configured with the new Email ID that was configured for the From Email property of the repository.

Resolution

Add a new POP3 user or update the existing POP3 user with the email account that was configured for From Email property of the Repository, in the Communication Service settings of the Farm Configuration Wizard and restart the service.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in