Sitecore 8 EXM: Failed to enroll a contact in the engagement plan

In Sitecore 8.1 update 1, you might experience the following error when trying to send an email:

ERROR Failed to enroll a contact in the engagement plan.
Exception: System.Net.WebException
Message: The remote name could not be resolved: ‘default-cd-cluster’


Message: Recipient sc:extranet\someemail@pentia.dk skipped. Failed to enroll its corresponding contact in the engagement plan.
Source: Sitecore.EmailCampaign
at Sitecore.Modules.EmailCampaign.Core.Dispatch.DispatchTask.OnSendToNextRecipient()

The error occurs if you do not change the Analytics.ClusterName in the /App_Config/Include/Sitecore.Analytics.Tracking.config.

<setting name="Analytics.ClusterName" value="default-cd-cluster" />

The Analytics.ClusterName must be a valid, reachable URL.

<setting name="Analytics.ClusterName" value="hostname.of.my.site.com" />

This is because Sitecore calls the /sitecore/AutomationStates.ashx page using the Analytics.ClusterName as the host name.

About briancaos

Developer at Pentia A/S since 2003. Have developed Web Applications using Sitecore Since Sitecore 4.1.
This entry was posted in Sitecore 8 and tagged , , , , . Bookmark the permalink.

1 Response to Sitecore 8 EXM: Failed to enroll a contact in the engagement plan

  1. Thank you for your article. It works. I solved this issue in another way to get rid of configuration this setting on each separate one-site environment(dev and testing machines): http://sitecorevn.blogspot.com/2016/05/sitecore-exm-remote-name-could-not-be.html

    Like

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.