On clicking Start the automatic upgrade, the following error message appears:
“The service instance is already registered with the configuration service”

It could happen after :
- Adding a new controller to the farm
- Changing the XML service port
- Migrating to XenDesktop 7.6
Details of the error XDDS:C266BBDF
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
Error Id: XDDS:C266BBDF Exception: Citrix.Console.Models.Exceptions.ScriptException The service instance is already registered with the Configuration Service. at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host) at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.ExecuteAndReturnRawResults(SdkPipeline sdkCmd, ICmdletExecutionHost host) at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute(SdkPipeline sdkCmd, ICmdletExecutionHost host) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.ServiceConfigurationTask.RegisterServiceEndPoints(ServiceEndpointAnalysis servicesWithUnregisteredServiceInstance, ICmdletExecutionHost host, ITaskLogger taskLogger) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.ServiceConfigurationTask.<>c__DisplayClass21.<RunUpgradeTask>b__19(ICmdletExecutionHost host) at Citrix.Console.PowerShellInteraction.SimplePowerShellScript.<>c__DisplayClass4.<Run>b__3(ICmdletExecutionHost host) at Citrix.Console.PowerShellInteraction.SimplePowerShellScript.RunScript() at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run() at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.ServiceConfigurationTask.RunUpgradeTask(IProgressReporter progressReporter, ITaskLogger taskLogger) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.RunUpgrade(IProgressReporter progressReporter, ITaskLogger taskLogger) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.RunUpgrade(IProgressReporter progressReporter, ITaskLogger taskLogger) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.Upgrade.RunUpgradeTask(IProgressReporter progressReporter, ITaskLogger taskLogger) at Citrix.Console.PowerShellSdk.UpgradeService.UpgradeTasks.UpgradeTaskBase.RunUpgrade(IProgressReporter progressReporter, ITaskLogger taskLogger) at Citrix.Console.DeliveryCenter.UI.Mmc.UpgradeResultPaneViewModel.UpgradeTask(IProgressReporter progressReporter, UserCredentials databaseCredentials) at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowOperation.PerformOperation() at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowViewModel.PerformAction(Action operationComplete) DesktopStudio_ErrorId : ServiceAlreadyRegistered ErrorCategory : NotSpecified DesktopStudio_PowerShellHistory : SimplePowerShellScript 2015-05-05 10:37:22 Get-ConfigDBConnection -AdminAddress "localhost" Set-Variable -Name "newEndpoint" -Value "Citrix.Broker.Admin.SDK.ServiceInstance" Get-Variable -Name @("newEndpoint") -ValueOnly | Register-ConfigServiceInstance -AdminAddress "servername.domain.com" Register-ConfigServiceInstance : The ServiceInstance is already registered with the Central Configuration Service. + CategoryInfo : InvalidOperation: (:) [Register-ConfigServiceInstance], InvalidOperationException + FullyQualifiedErrorId : Citrix.XDPowerShell.ConfigurationStatus.ServiceAlreadyRegistered,Citrix.Configuration.Sdk.Cmdlets.Commands.RegisterConfigServiceInstanceCommand Remove-Variable -Name "newEndpoint" |
How to fix the error XDDS:C266BBDF ?
- Close Desktop Studio
- Backup you database (optional)
- Run the following commands in PowerShell on one of the DDC:
1 2 3 4 |
# Load XenDesktop Powershell Cmdlets Add-PSSnapin *Broker* # Unregister current Broker instance Get-ConfigRegisteredServiceInstance -ServiceType "Broker" | Unregister-ConfigRegisteredServiceInstance |
- Run the following commands in PowerShell on all DDC (optional)
1 2 3 4 |
# Load XenDesktop Powershell Cmdlets Add-PSSnapin *Broker* # Register new instance Get-ConfigServiceInstance | Register-ConfigServiceInstance |
- Start Desktop Studio
- Run through the upgrade process within Studio.
This is also documented here:
http://support.citrix.com/article/CTX200446