Cannot Create host connection Hyper V - SCVMM - Error : XDDS-09246D12
Host fails immediately with error:
<?xml version="1.0" encoding="utf-8"?>
<ErrorDump xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" errorId="XDDS:09246D12" version="7.5.0.4531" component="DesktopStudio">
<ErrorData name="exception">Exception: Citrix.Console.Models.Exceptions.ScriptException
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.HypervisorService.Scripts.CreateHypervisorConnection.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.HypervisorService.PSHypervisorService.AddHypervisorConnection(HypervisorConnectionModel hypervisorConnectionModel, Boolean persistConnection, ScriptExecutionContext context)
at Citrix.Console.Hypervisors.UI.Pages.HypervisorDetailsPageViewModelBase.ValidatePage()
at Citrix.Console.CommonControls.Wizard.PageContainerViewModel.<>c__DisplayClass3.<ValidateAndMoveToPage>b__2()
</ErrorData>
<ErrorData name="PowerShellHistory">Create Connection 'NTSH Connection'
7/31/2014 2:22:25 PM
Get-ConfigServiceStatus -AdminAddress [XXXXXX] Get-LogSite -AdminAddress [XXXXXX] Start-LogHighLevelOperation -AdminAddress [XXXXXX] -Source [XXXXXX] -StartTime 7/31/2014 7:22:25 PM -Text [XXXXXX] Set-HypAdminConnection -AdminAddress [XXXXXX] New-Item -ConnectionType 'SCVMM' -HypervisorAddress @([XXXXXX]) -LoggingId 6ee920bb-ef32-41ab-8fda-a9679db8a3cb -Path @([XXXXXX]) -Scope @() -Password ******** -UserName [XXXXXX] New-Item
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Status.ExceptionThrown,Microsoft.PowerShell.Commands.NewItemCommand
Tried again to create host - got diff error ( same ID ):
Error Id: XDDS:09246D12
Exception:
Citrix.Console.Models.Exceptions.ScriptException Unexpected error. Contact Citrix Support.
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.HypervisorService.Scripts.CreateHypervisorConnection.RunScript()
at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
at Citrix.Console.PowerShellSdk.HypervisorService.PSHypervisorService.AddHypervisorConnection(HypervisorConnectionModel hypervisorConnectionModel, Boolean persistConnection, ScriptExecutionContext context)
at Citrix.Console.Hypervisors.UI.Pages.HypervisorDetailsPageViewModelBase.ValidatePage()
at Citrix.Console.CommonControls.Wizard.PageContainerViewModel.<>c__DisplayClass3.<ValidateAndMoveToPage>b__2(
DesktopStudio_ErrorId : ExceptionThrown
Exception : Citrix.ManagedMachineAPI.ManagedMachineException: Command did not execute: System.Management.Automation.CmdletInvocationException: The type or name syntax of the registry key value IndigoTcpPort under Software\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Console\Settings is incorrect.
Ensure that the type of value name is correct; the name is not empty, contains only valid characters and is less than 255 characters. ---> Microsoft.VirtualManager.Utils.CarmineException: The type or name syntax of the registry key value IndigoTcpPort under Software\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Console\Settings is incorrect.
Ensure that the type of value name is correct; the name is not empty, contains only valid characters and is less than 255 characters.
at Microsoft.VirtualManager.Utils.RegistryUtils.ReadRegistryValue[T](String key, String valueName, Object defaultValue, RegistryHive rootHive)
at Microsoft.VirtualManager.Utils.AppSettings.get_ClientIndigoTCPPort()
at Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.ConnectServerCmdlet..ctor()
at lambda_method(Closure )
at System.Management.Automation.CommandProcessor.Init(CmdletInfo cmdletInformation)
--- End of inner exception stack trace ---
IndigoTcpPort item value set to 1fa4 under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Console\Settings.
If IndigoTcpPort’s type is different then REG_DWORD, delete existing item and create an new item with REG_DWORD type.
The new reg key worked and allowed communication over port 8100.
Note: The registry key must be present in all DDCs. Otherwise, it will create database inconsistencies and fail.