Skip to content
The Bits That Byte
  • About
July 17, 2019 / Sitecore

Failed to instantiate a processor of type ‘”Sitecore.Xdb.MarketingAutomation.Processing.EventProcessor”

If you see the “Failed to instantiate a processor of type ‘”Sitecore.Xdb.MarketingAutomation.Processing.EventProcessor”” error in your Marketing Automation Engine Logs (located within the AppData/Jobs path, not the actual Marketing Automation Role), there are a few things to check.

This issue is generally caused by the Marketing Automation Engine Windows Service being unable to communicate to xConnect as it may not have the correct permissions to the xConnectCollection Client Certificate. You can read more about client and server certificates in Sitecore here.

Are Your Thumbprints Correct?

If the thumbprint for the xConnectCollection endpoint is incorrect, you will not be able to resolve the connection from the Marketing Automation role/service. You can get the thumbprints of the certificates on your machine via the following PowerShell command:

Get-ChildItem -path cert:\LocalMachine\My

Once you have the thumbprint of the client certificate you are using for the https://xConnectCollection endpoint, check the ConnectionStrings of both the Marketing Automation role and the Marketing Automation Engine to ensure the thumbprint is correct (the Marketing Automation Engine can be found starting in the path of AppData/Jobs within the Marketing Automation role and has its own AppConfig and AppData directories). If is not correct, update the connectionString files to use the thumbprint of the xConnectCollection Client Certificate.

You can learn more about the two Windows Services in Sitecore 9 here.

Check the Permissions on the xConnectCollection Client Certificate

The Marketing Automation Engine Windows Service will likely be using the Local Service account to run. If this account is not added to the xConnectCollection Client Certificate permissions, the Windows Service can’t authenticate its connection to the xConnect as it uses the xConnectCollection endpoint for a lot of operations.

You can check, and subsequently add the Local Service via the following:

  • Right Click the xConnectCollection Client Certificate > All Tasks > Manage Private Keys and check if Local Service is listed
  • If it is not listed, Add the Local Service with Default Permissions of Full Control and Read

Post navigation

Previous Post:

How to Manage Log Retention in Sitecore 9 (including xConnect)

Next Post:

Sitecore Quick Tip: Knowing If All CD Servers Are Load Balancing

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Sitecore Technology MVP

Categories

  • AngularJS
  • Azure
  • CSS3
  • HTML5
  • Hyper-V
  • JavaScript
  • jQuery
  • OneDrive
  • PowerShell
  • Responsive Web Design
  • Search
  • SEO
  • SharePoint
  • Sitecore
  • SQL 2008 R2
  • SQL 2012
  • Tech Review
  • Tech Toy
  • Technical Resources
  • Uncategorized
  • Visual Studio
  • Web Content Management
  • Windows 8
  • Windows 8 App
  • Windows App
  • Windows Server 2008 R2
  • Workflow

Sponsored Links

Recent Posts

  • Autofail: A Big Azure Autoscale Limitation and What To Do
  • Got Fixes? A Sitecore Troubleshooters Guide to Sitecore Hotfixes
  • Sitecore 10 Application Roles, Storage Roles, and Indexes
  • Don’t Copy Sitecore Databases Across Environments, Sync Instead
  • Hey Sitecore PaaS! Where are My Modules?

Blogroll

  • Colins Sitecore Tech Blog
  • Sitecore Architecture – Grant's Sitecore Rants
January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Dec    
© 2021 thebitsthatbyte.com - Powered by SimplyNews