While installing Sitecore 9.3 we encountered below error for marketing automation service.
[Error] Failed to start the Marketing Automation Engine service. System.InvalidOperationException: This configuration has not been initialized. Please call the initialize method before using it. [Error] Error initializing XConnect client. System.AggregateException: One or more errors occurred. -> Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. —> System.Net.Http.HttpRequestException: An error occurred while sending the request.
We tried to manually restart the service but it failed and displayed below error.
After searching from multiple sources we got the solution which worked for us.
Steps:
- Open PowerShell window in Administrator mode
- Run below two commands
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$.Issuer -ne $.Subject}
Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$.Issuer -ne $.Subject} | Move-Item -Destination Cert:\LocalMachine\CA
First command will check for non-self signed certificates and second command will add those certificates to Intermediate certification authorities store.
After running above commands service started running.
Note: Please wait for certain duration and then restart the service if it fails to restart immediately.
Also refer below links for more information.
- https://community.sitecore.com/community?id=community_question&sys_id=2295232d1b4770d0b8954371b24bcb69
- https://sitecore.stackexchange.com/questions/27214/sitecore-9-3-installation-failing-failed-to-start-the-marketing-automation-en
- https://himmatsinghdulawat.blogspot.com/2021/06/failed-to-start-service-sitecore-marketing-automation-engine.html
- https://markgibbons25.medium.com/troubleshooting-sitecore-marketing-automation-plan-enrollment-1b8461e802b0
- https://techieticker.blogspot.com/2020/04/failed-to-start-service-sitecore.html
Hope you find this post helpful.😀
No comments:
Post a Comment