• Not Answered

Sitecore 9.2 Installation - x-connect windows service does not start XConnectXP0_StartServices

Hi,

I'm trying to install Sitecore XP 9.2 to my laptop. The script throws the below error (check image below).

Note:

The "sc750.xconnect" web service is installed in IIS and running. 

The "sc750.xconnect-IndexWorker" windows service is installed but does not start automatically or manually.

When I try to start the windows service manually I'm getting this error "Error 1064: An exception occurred in the service when handling the control request."

Below is the PowerShell script error message when I run ".\XP0-SingleDeveloper.ps1

-------------------------------------------------------------------------------

[---------------------------- XConnectXP0_StartServices [1] : ManageService -------------------------------------------------------------------------------------------------]
[XConnectXP0_StartServices [1]]:[Updating] sc750.xconnect-IndexWorker
WARNING: Waiting for service 'Sitecore XConnect Search Indexer - sc750.xconnect-IndexWorker (sc750.xconnect-IndexWorker)' to start...
Install-SitecoreConfiguration : Failed to start service 'Sitecore XConnect Search Indexer - sc750.xconnect-IndexWorker (sc750.xconnect-IndexWorker)'.
At C:\ResourceFiles\XP0-SingleDeveloper.ps1:74 char:1
+ Install-SitecoreConfiguration @singleDeveloperParams *>&1 | Tee-Objec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:03:52
Start-Service : Failed to start service 'Sitecore XConnect Search Indexer - sc750.xconnect-IndexWorker (sc750.xconnect-IndexWorker)'.
At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.1.0\Public\Tasks\Invoke-ManageServiceTask.ps1:40 char:33
+ $instance | Start-Service
+ ~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand

-----------------------------------------------------------------------------------------------

 

Please, let me know how to solve this issue. 

Thanks

3 Replies

  • Are there any errors in the logs folder of the service job?
  • Is your xconnect IIS website / apppool working correctly? (Check the state in the iis manager)
  • Hi,

    I am running into the same error. The Windows event log shows two errors:

    Error 1 (.Net Runtime):

    Toepassing: Sitecore.ProcessingEngine.exe

    Framework-versie: v4.0.30319

    Beschrijving: het proces is beëindigd als gevolg van een onverwerkte uitzondering.

    Uitzonderingsinformatie: System.Data.SqlClient.SqlException

      bij System.Data.ProviderBase.DbConnectionPool.TryGetConnection(System.Data.Common.DbConnection, UInt32, Boolean, Boolean, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal ByRef)

      bij System.Data.ProviderBase.DbConnectionPool.TryGetConnection(System.Data.Common.DbConnection, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal ByRef)

      bij System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(System.Data.Common.DbConnection, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions, System.Data.ProviderBase.DbConnectionInternal, System.Data.ProviderBase.DbConnectionInternal ByRef)

      bij System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(System.Data.Common.DbConnection, System.Data.ProviderBase.DbConnectionFactory, System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>, System.Data.Common.DbConnectionOptions)

      bij System.Data.SqlClient.SqlConnection.TryOpenInner(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)

      bij System.Data.SqlClient.SqlConnection.TryOpen(System.Threading.Tasks.TaskCompletionSource`1<System.Data.ProviderBase.DbConnectionInternal>)

      bij System.Data.SqlClient.SqlConnection.Open()

      bij Rebus.SqlServer.DbConnectionProvider.CreateSqlConnectionSuppressingAPossibleAmbientTransaction()

      bij Rebus.SqlServer.DbConnectionProvider+<GetConnection>d__5.MoveNext()

      bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

      bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)

      bij Rebus.SqlServer.Transport.SqlServerTransport+<InnerEnsureTableIsCreatedAsync>d__23.MoveNext()

      bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

      bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)

      bij Rebus.SqlServer.Transport.SqlServerTransport+<EnsureTableIsCreatedAsync>d__22.MoveNext()

      bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

      bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)

      bij Rebus.SqlServer.AsyncHelpers+CustomSynchronizationContext+<<Run>b__7_0>d.MoveNext()

      bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

      bij Rebus.SqlServer.AsyncHelpers+CustomSynchronizationContext.Run()

      bij Rebus.SqlServer.AsyncHelpers.RunSync(System.Func`1<System.Threading.Tasks.Task>)

      bij Rebus.SqlServer.Transport.SqlServerTransport.EnsureTableIsCreated()

      bij Rebus.Config.SqlServerTransportConfigurationExtensions+<>c__DisplayClass11_0.<Configure>b__0(Rebus.Injection.IResolutionContext)

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

    Uitzonderingsinformatie: Rebus.Injection.ResolutionException

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Rebus.Config.RebusConfigurer+<>c.<Start>b__12_12(Rebus.Injection.IResolutionContext)

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Rebus.Config.RebusConfigurer+<>c__DisplayClass12_0.<Start>b__25(Rebus.Injection.IResolutionContext)

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Rebus.Config.RebusConfigurer+<>c__DisplayClass12_0.<Start>b__26(Rebus.Injection.IResolutionContext)

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Sitecore.Framework.Messaging.Rebus.OptionsConfigurerExtensions+<>c.<DecorateUsingRetryerBus>b__0_0(Rebus.Injection.IResolutionContext)

      bij Rebus.Injection.Injectionist+ResolutionContext.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Rebus.Injection.Injectionist.Get[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]()

      bij Rebus.Config.RebusConfigurer.Start()

      bij Sitecore.Framework.Messaging.MessageServiceBuilderExtensions+<>c__DisplayClass4_0.<AddBuses>b__0(System.IServiceProvider)

      bij System.Collections.Concurrent.ConcurrentDictionary`2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetOrAdd(System.__Canon, System.Func`2<System.__Canon,System.__Canon>)

      bij Sitecore.Framework.Messaging.MessageBusRegistry.EnsureIsStarted(System.String)

      bij Sitecore.Framework.Messaging.ServiceProviderExtensions.StartMessageBuses(System.IServiceProvider, System.String[])

      bij Sitecore.Processing.Engine.Hosting.AgentHost.StartAsync(System.Threading.CancellationToken)

      bij Sitecore.Processing.Engine.App.EngineService.OnStart(System.String[])

      bij System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object)

      bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

      bij System.ServiceProcess.ServiceBase.Run(System.ServiceProcess.ServiceBase[])

      bij Sitecore.Processing.Engine.App.Program.RunAsService()

      bij Sitecore.Processing.Engine.App.Program.Main(System.String[])

    Error 2 (Application error):

    Faulting application name: Sitecore.ProcessingEngine.exe, version: 2.0.0.0, time stamp: 0xbadbe7f0

    Faulting module name: KERNELBASE.dll, version: 10.0.17134.885, time stamp: 0x3672f486

    Exception code: 0xe0434352

    Fault offset: 0x000000000003a388

    Faulting process ID: 0x43f8

    Faulting application start time: 0x01d5543849ae214c

    Faulting application path: C:\inetpub\wwwroot\XP0.xconnect\App_Data\jobs\continuous\ProcessingEngine\Sitecore.ProcessingEngine.exe

    Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll

    Report ID: 283eaee1-827e-4161-acef-aa0bc402dffa

    Faulting package full name:

    Faulting package-relative application ID: