Cannot access Licensing Node in Citrix Studio. “An error occurred with the Citrix License Server..”

Cannot access Licensing Node in Citrix Studio. “An error occurred with the Citrix License Server..”

book

Article ID: CTX138967

calendar_today

Updated On:

Description

It is not possible to change the License Server from within Citrix Studio. The error appears, “An error has occurred with the Citrix License Server….”

User-added image

On clicking View error details, the following information appears:
Error Id: XDDS:CFA44753
Exception:
    Citrix.Console.Models.Exceptions.ScriptException An error has occurred with the Citrix License Server. Checks the license servers to make sure it is running, and then try again.
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ExecutionResults`1 results, ICmdletExecutionHost host)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
       at Citrix.Console.PowerShellSdk.LicensingService.Scripts.GetLicenseUsageScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.LicensingService.PSLicenseService.GetLicenseInventory(String adminAddress)
       at Citrix.Console.Licensing.UI.Mmc.LicensingTabViewModel.<>c__DisplayClass6.<OnRefresh>b__1()
       at Citrix.Console.CommonControls.ViewModelBase.<>c__DisplayClassb.<RunBackgroundTask>b__9(Object s, DoWorkEventArgs e)
   
    DesktopStudio_ErrorId : UnknownError
    Sdk Error Message : UnknownError
    Sdk Error ID : Citrix.PowerShell.LicensingAdminStatus.UnknownError,Citrix.Licensing.Admin.SDK.Commands.GetLicInventoryCommand
    ErrorCategory : NotSpecified
    DesktopStudio_PowerShellHistory : GetLicenseUsageScript
    09/09/2013 13:46:39
   
    Get-LicInventory  -AdminAddress 'https://10.x.x.x:8083' -CertHash 'lx5M6KnopiUFDmJb4trFnSMya5ta4u49+LZYcEX41COiFCjrm5zehGQKbwzjn3RpOZODOni4SwgKSS/ClD4hog==' -CheckForSameSerialNumber
    Get-LicInventory : UnknownError
            + CategoryInfo : InvalidOperation: (Get-LicInventory:String) [Get-LicInventory], InvalidOperationException
            + FullyQualifiedErrorId : Citrix.PowerShell.LicensingAdminStatus.UnknownError,Citrix.Licensing.Admin.SDK.Commands.GetLicInventoryCommand
 

Resolution

  1. Change the Citrix License Server in PowerShell using the following command:
    • Set-ConfigSite -LicenseServerName x.x.x.x 
    • Set-ConfigSite -LicenseServerUri Https://XXX:8083 
  2. Click http://support.citrix.com/proddocs/topic/citrix-configuration-admin-v2-xd7/set-configsite-xd7.html for information about Set-ConfigSite
  3. Close and reopen Citrix Studio.
  4. Now it is possible once more to see the options to change the License Server.
    • User-added image​​​​​​​

Problem Cause

The License Server that was previously selected is unreachable.

Issue/Introduction

This article provides a resolution to change the license server from within Citrix Studio.