Pages

Sunday, March 3, 2013

Removing a Citrix XenDesktop 5.6 DDC (Desktop Delivery Controller) in Desktop Studio throws the error: “The requested name is valid, but not data of the requested type was found”

Problem

You attempt to remove a Citrix XenDesktop 5.6 DDC (Desktop Delivery Controller) in Desktop Studio:

image

image

image

image

image

but receive the following error:

The requested name is valid, but not data of the requested type was found

image

Clicking on the Details button displays the following details:

Exception:
    System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation.
       at Citrix.Console.Common.CallbackEventArguments.OperationCompleteSynchronizer`1.GetResults()
       at Citrix.Console.Common.CallbackEventArguments.OperationCompleteSynchronizer`1.WaitForResults()
       at Citrix.Console.Brokers.UI.Mmc.ProgressOperations.RemoveBrokerProgressWindowOperation.RemoveBrokerControllers(UserCredentials credentials, SiteModel site)
       at Citrix.Console.Brokers.UI.Mmc.ProgressOperations.RemoveBrokerProgressWindowOperation.PerformOperationInternal()
       at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowOperation.PerformOperation()
       at Citrix.Console.CommonControls.ProgressDisplay.ProgressWindowViewModel.PerformAction(ManualResetEvent operationComplete)
   
   
Inner exception:
    System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation.
       at Citrix.Console.Common.CallbackEventArguments.OperationCompleteSynchronizer`1.GetResults()
       at Citrix.Console.PowerShellSdk.BrokerService.Scripts.RemoveControllerScript.<ExecuteNext>d__2.MoveNext()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.<ExecuteNext>d__9.MoveNext()
       at Citrix.Console.InteractionCore.ScriptBase.<ExecuteImplementation>d__1.MoveNext()
       at Citrix.Console.InteractionCore.Scheduler.ExecuteNext(ScriptExecution execution)
   
    ScriptHistory : Remove Controllers
    This script will start the removal of Broker Controllers from the site.
    1/8/2013 10:45:53 AM
   
    Set-ConfigDBConnection -DBConnection $null -AdminAddress 'DDCV01.contoso.local'
   
    Set-ConfigDBConnection : An invalid URL was given for the service.  The value given was 'DDCV01.contoso.local'.
        The reason given was: Failed to connect to back-end server 'DDCV01.contoso.local' on port 80 using binding WSHttp. The server may be off-line or may not be running the appropriate service
                There was no endpoint listening at
http://DDCV01.contoso.local/Citrix/ConfigurationService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
                The remote name could not be resolved: 'DDCV01.contoso.local'.
                + CategoryInfo : InvalidOperation: (:) [Set-ConfigDBConnection], InvalidOperationException
                + FullyQualifiedErrorId : Citrix.XDPowerShell.Status.CommunicationError,Citrix.Configuration.SDK.Commands.SetConfigDBConnectionCommand
   
   
   
Inner exception:
    System.Net.Sockets.SocketException The requested name is valid, but no data of the requested type was found
       at System.Net.Dns.GetAddrInfo(String name)
       at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
       at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
       at Citrix.Console.Models.ServiceStateModel.<GetAddressesWithExclusions>b__3(ServiceInstanceStatus address)
       at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
       at System.Linq.Enumerable.<SelectManyIterator>d__31`3.MoveNext()
       at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
       at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
       at Citrix.Console.Models.ServiceStateModel.GetAddressesWithExclusions(IEnumerable`1 addressesToExclude)
       at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.<GetWorkingServiceInstanceSet>d__25.MoveNext()
       at Citrix.Console.PowerShellSdk.HealthMonitor.Scripts.ReloadServiceInstancesScript.<ExecuteNext>d__c.MoveNext()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.<ExecuteNext>d__9.MoveNext()
       at Citrix.Console.InteractionCore.ScriptBase.<ExecuteImplementation>d__1.MoveNext()
       at Citrix.Console.InteractionCore.Scheduler.ExecuteNext(ScriptExecution execution)
   
    ScriptHistory : Remove Controllers
    This script will start the removal of Broker Controllers from the site.
    1/1/0001 12:00:00 AM
   
    Set-ConfigDBConnection -DBConnection $null -AdminAddress 'DDCV01.contoso.local'
   
    Set-ConfigDBConnection : An invalid URL was given for the service.  The value given was 'DDCV01.contoso.local'.
        The reason given was: Failed to connect to back-end server 'DDCV01.contoso.local' on port 80 using binding WSHttp. The server may be off-line or may not be running the appropriate service
                There was no endpoint listening at
http://DDCV01.contoso.local/Citrix/ConfigurationService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
                The remote name could not be resolved: 'DDCV01.contoso.local'.
                + CategoryInfo : InvalidOperation: (:) [Set-ConfigDBConnection], InvalidOperationException
                + FullyQualifiedErrorId : Citrix.XDPowerShell.Status.CommunicationError,Citrix.Configuration.SDK.Commands.SetConfigDBConnectionCommand

For more information about removing this orphaned DDC manually, see my previous post:

Manually removing orphaned Citrix XenDesktop 5.6 DDC (Desktop Delivery Controller)
http://terenceluk.blogspot.com/2013/03/manually-removing-orphaned-citrix.html

1 comment:

Anonymous said...

hi
I have rather a question and not a comment.the main question is that the DDC roles could be separated on xendesktop 5.6 or later? I know it is doing with xdt4.
excuse my english please i am in Paris