• Not Answered

9.2 local Sitecore installation error: failure to start marketting automation engine

Hi

 

I am installing sitecore locally and receiving error on task # 60 or so. 

Tried multiple solutions but the Marketting automation service wouldn't start. 

 Error in the log :

2019-11-23 17:20:07.584 -05:00 [Error] Error initializing XConnect client.
System.AggregateException: One or more errors occurred. ---> Sitecore.XConnect.XdbCollectionUnavailableException:
The HTTP response was not successful: InternalServerError
at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.<Refresh>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.XConnect.Client.XConnectClientConfiguration.<InitializeAsync>d__32.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Sitecore.XConnect.Client.Configuration.XConnect.Extensions.ServiceCollectionExtensions.<>c__DisplayClass1_0.<UseXConnectClientConfiguration>b__0(IServiceProvider provider)
---> (Inner Exception #0) Sitecore.XConnect.XdbCollectionUnavailableException: The HTTP response was naot successful: InternalServerError
at Sitecore.XConnect.Client.WebApi.ConfigurationWebApiClient.<Refresh>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Sitecore.XConnect.Client.XConnectClientConfiguration.<InitializeAsync>d__32.MoveNext()<---

2019-11-23 17:20:07.631 -05:00 [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.
at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized()
at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel()
rror in the event viewer:

Application: maengine.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized()
at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScoped(Microsoft.Extensions.DependencyInjection.ServiceLookup.ScopedCallSite, Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine+<>c__DisplayClass1_0.

3 Replies

  • Hi , Do you have valid license Marketting automation service.
  • One weird thing in your stacktrace "The HTTP response was naot successful: InternalServerError" I assume that is a copy defect, and is not instead of naot.
    But looks like their is something wrong with the XConnect webservices,
    Can you access the XConnect in your browser url looks like: sc920xconnect.dev.local/ you should get a nummer.

    Have you removed the partially installed Sitecore? before your next attempt, it is worth to try that.
  • If you've had any failed installation attempts, make sure you completely clean up all certs (and the other items). My checklist looks like this:

    - Solr Cores
    - IIS Slot and App Pools
    - Website Root Directories
    - Any DO_NOT_TRUST Sitecore certificates from your Personal, Intermediate, CA Root stores (important!)
    - DB's
    - Collection User SQL Login
    - C:/certificates (or wherever you set this to be generated)

    Generally the certificates will be the culpret for the MA not starting error you're seeing there :)