Error ID: XDDS:017A8649 “Sequence Contains No Elements” When Selecting Hosting from Citrix Studio

Error ID: XDDS:017A8649 “Sequence Contains No Elements” When Selecting Hosting from Citrix Studio

book

Article ID: CTX200940

calendar_today

Updated On:

Description

Error “Sequence Contains No Elements” appears when selecting Hosting from Citrix Studio. 

Exception:

System.InvalidOperationException Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Citrix.Console.PowerShellSdk.HypervisorService.Scripts.GetHostingUnits.SetRootPath(HostingUnitModel hostingUnitModel, String path)
at Citrix.Console.PowerShellSdk.HypervisorService.Scripts.GetHostingUnits.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.HypervisorService.PSHypervisorService.GetHostingUnits(String[] hostingUnitNames)
at Citrix.Console.Hypervisors.UI.Mmc.HypervisorsTabViewModel.<>c__DisplayClassb.<OnRefresh>b__6()
at Citrix.Console.CommonControls.ViewModelBase.<>c__DisplayClassb.<RunBackgroundTask>b__9(Object s, DoWorkEventArgs e)

Resolution

Revert VMWare Datacenter to the original name.


Problem Cause

The error is specific to VMWare integration and occurs when VMWare Datacenter name has been changed from the original name that was created in Citrix Studio. Renaming the object is unsupported as Citrix Studio integrate directly with VMWare object name.