Citrix Virtual Apps and Desktops: Is your license server compatible? in Citrix Studio

Citrix Virtual Apps and Desktops: Is your license server compatible? in Citrix Studio

book

Article ID: CTX210780

calendar_today

Updated On:

Description

Getting "Is your License Server compatible?" after launching Citrix Studio.

 User-added image

If "Continue" button is selected then it will give the following error:

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

Environment

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.

Resolution

Solution 1:
Reboot all the Delivery Controllers in the site one by one

Solution 2:
  • Close Citrix Studio
  • Backup site database (precautionary step)
  • Run the following commands in PowerShell on the DDC:
  1. Add-PSSnapin *Broker*
  2. Get-ConfigRegisteredServiceInstance -ServiceType "Broker" | Unregister-ConfigRegisteredServiceInstance
  • Launch Citrix Studio and run the automatic upgrade

Problem Cause

One or many service instances of Citrix Virtual Apps and Desktops services might not be registered with the Citrix Configuration Service. 

Issue/Introduction

"The License Server Has Been Upgraded. Let Me Continue" Message In XenDesktop. XenDesktop 7.6 :getting an upgrade option in the console. If the click on Continue, they have the following error: Error Id: XDDS:C266BBDF.