Despite the fact that Windows Server 2008 R2 SP1 was listed as a supported operating system for XenApp 7.5 and XenDesktop 7.5, it did not actually work for us on this platform.
Here’s our setup:
- Windows Server 2008 R2 SP1 x64 Datacenter with 30GB of free disk space, connected to AD DC
- Microsoft .NET Framework 3.5 SP1
- Microsoft .NET Framework 4.5
- Windows PowerShell 2.0 (included with Windows Server 2008 R2)
- Visual C++ 2005, 2008 SP1, and 2010 Redistributable packages
The following databases were tested:
- SQL Server 2008 R2 SP2 Express Edition with Advanced Tools
- SQL Server 2012 Express Edition (installed by Controller)
No matter which database we tried, Citrix Studio failed to connect to the Delivery Controller after default installation with the error provided below. And we were not the only ones who got stuck here (see for more info: https://discussions.citrix.com/topic/339599-xendesktop-71-xenserver-62-trail-problem/).
In all cases database was successfully installed and we could get access with a domain admin account via SQL Management Studio.
Changes between localhost, NetBIOS name, IP address, computer name gave no success nor did re-installations of XenApp and SQL.
The only way to fix that was to switch to Windows Server 2012 64-bit – everything worked out of the box.
DesktopStudio_ErrorId : DatabaseNotConfigured
Sdk Error Message : The operation could not be completed as the database has not been configured for the Citrix Configuration Service service.Error Id: XDDS:EEBF43DB
Exception:
Citrix.Console.Common.CitrixAggregateException One or more parallel operations failed
at Citrix.Console.Common.CitrixParallel.InternalForEach[TIn](IEnumerable`1 items, Action`1 operation, Int32 maxSimultaneous)
at Citrix.Console.Common.CitrixParallel.ForEach[TIn](IEnumerable`1 items, Action`1 operation)
at Citrix.Console.PowerShellSdk.CapabilitiesService.Scripts.GetCapabilitiesScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.CapabilitiesService.PSCapabilitiesService.LoadCapabilities(Boolean servicesAreConfigured, Boolean coreServicesOnly)
at Citrix.Console.PowerShellSdk.SiteService.Scripts.LoaderScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.SiteService.PSSiteService.LoadSiteState()
at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.LoadSiteState()
at Citrix.Console.DeliveryCenter.UI.ViewModel.DesktopStudioViewModel.ConnectToSite(String ccsLocation, Boolean safeForDispatcher)
at Citrix.Console.DeliveryCenter.UI.Mmc.StartupTabViewModel.<>c__DisplayClass2.b__1()
at Citrix.Console.CommonControls.ProgressDisplay.GenericProgressOperation.PerformOperationInternal()
at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowOperation.PerformOperation()
at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowViewModel.PerformAction(Action operationComplete)
DesktopStudio_PowerShellHistory : GetCapabilitiesScript
4/2/2014 9:32:50 AM
Inner Exception:
Citrix.Console.Models.Exceptions.InvalidServiceConfigurationException All services have not been configured.
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.RefreshServiceAddressCache()
at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.HealthMonitor.PSHealthCheckService.ReportServiceFailure(SdkType sdkType, String failedAddress, ScriptExecutionContext scriptContext)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.FailoverToAnotherService[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, ISupportsAdminAddress cmd)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CanFailover[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover, ISupportsAdminAddress cmd, HashSet`1 failedAddresses)
at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
at Citrix.Console.PowerShellInteraction.SdkServiceBase.GetServiceAddedCapabilities(ICmdletExecutionHost cmdletExecutionHost, String instanceAddress)
at Citrix.Console.PowerShellSdk.CapabilitiesService.Scripts.GetCapabilitiesScript.<>c__DisplayClassa.b__7(ICmdletExecutionHost host)
at Citrix.Console.PowerShellInteraction.SimplePowerShellScript.<>c__DisplayClass1`1.b__0(ICmdletExecutionHost o)
at Citrix.Console.PowerShellInteraction.SimplePowerShellScript.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellInteraction.SimplePowerShellScript.Run[T](IUnityContainer container, Func`2 action)
at Citrix.Console.PowerShellSdk.CapabilitiesService.Scripts.GetCapabilitiesScript.GetCapabilities(DeploymentCapabilitiesModel siteCapabilities, SdkType type, Action`2 reduce)
at Citrix.Console.PowerShellSdk.CapabilitiesService.Scripts.GetCapabilitiesScript.<>c__DisplayClass4.b__3(KeyValuePair`2 kv)
at Citrix.Console.Common.CitrixParallel.<>c__DisplayClass7`1.b__2(Object arg)
DesktopStudio_ErrorId : DatabaseNotConfigured
Sdk Error Message : The operation could not be completed as the database has not been configured for the Citrix Configuration Service service.
Sdk Error ID : Citrix.XDPowerShell.Status.DatabaseNotConfigured,Citrix.Configuration.Sdk.Cmdlets.Commands.GetConfigRegisteredServiceInstanceCommand
ErrorCategory : InvalidResult
DesktopStudio_PowerShellHistory : SimplePowerShellScript
4/2/2014 9:32:50 AM
Get-BrokerServiceAddedCapability -AdminAddress 'localhost'
Get-BrokerServiceAddedCapability : Failed to connect to back-end server 'localhost' on port 80 using binding WSHttp. The server may be off-line or may not be running the appropriate service
+ CategoryInfo : InvalidOperation: (:) [Get-BrokerServiceAddedCapability], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.NoServerErrorId,Citrix.Broker.Admin.SDK.GetBrokerServiceAddedCapabilityCommand
Set-Variable -Name 'sidsToExclude' -Value @()
Get-ConfigRegisteredServiceInstance -AdminAddress 'localhost' -Filter {(((ServiceType -eq "Config") -and (Version -eq 2))) -and ((InterfaceType -eq "SDK") -and (-not (ServiceAccountSid -in $sidsToExclude)))} -MaxRecordCount 2147483647
Get-ConfigRegisteredServiceInstance : The operation could not be completed as the database has not been configured for the Citrix Configuration Service service.
+ CategoryInfo : InvalidOperation: (:) [Get-ConfigRegisteredServiceInstance], InvalidOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status.DatabaseNotConfigured,Citrix.Configuration.Sdk.Cmdlets.Commands.GetConfigRegisteredServiceInstanceCommand
Remove-Variable -Name 'sidsToExclude'
I encountered the same error on Server2008 R2 after a fresh XenDesktop install..
I solved this by running a sysprep on the virtual machine (it is a full vmware clone)
Then i re-join my domain, login with domain account, launch the Studio, everything seems to be find :)