Jump to content
Welcome to our new Citrix community!
  • 0

Citrix.ADIdentity.Sdk.DataStore.Commands.SetAcctDBConnectionCommand. Can anyone help me with this issue


Arasu Murugan

Question

I am trying to set up a new site in Citrix XenApp 7.15. While creating a site, i am getting below error message

 

Error Id: XDDS:25CA1B05

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.PowerShellInteraction.SdkServiceBase.SetDatabaseConnection(ICmdletExecutionHost cmdletExecutionHost, String instanceAddress, DataStore dataStore, String databaseConnection, Boolean force)
       at Citrix.Console.PowerShellSdk.DatabaseService.Scripts.SetDatabaseConnectionsScript.AttemptAndRetrySettingDatabaseConnection(SdkServiceBase service)
       at Citrix.Console.PowerShellSdk.DatabaseService.Scripts.SetDatabaseConnectionsScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.ConfigureServicesScript.SetSiteDatabaseConnections()
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.ConfigureServicesScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.CreateEmptySiteScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.PowerShellSdk.SiteService.Scripts.FullDeploymentScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.DeliveryCenter.UI.Dialogs.FullDesktopDeploymentWizardViewModel.CompleteDeployment(IProgressReporter progressReporter)
       at Citrix.Console.DeliveryCenter.UI.Dialogs.DeploymentWizardViewModel.Commit(IProgressReporter progressReporter)
    
    DesktopStudio_ErrorId : ExceptionThrown
    Exception : System.ArgumentException: registry key not found
       at Citrix.Fma.Sdk.Registry.RegistryAccess.CheckRegRootExistance()
       at Citrix.Fma.Sdk.Registry.RegistryAccess.WriteValue(String valuePath, Object value, RegistryValueKind kind)
       at Citrix.Fma.Sdk.Registry.RegistrySettings.SetValue(String caller, String name, Object value, RegistryValueKind kind)
       at Citrix.Fma.Sdk.Registry.RegistrySettings.SetString(String name, Object value)
       at Citrix.Fma.Sdk.ServiceCore.CommonCmdlets.SiteDataStoreConnection.Save()
       at Citrix.Fma.Sdk.ServiceCore.CommonCmdlets.CommonCmdletsLogic.<>c__DisplayClass50_0.<SetDBConnection>b__0()
       at Citrix.Fma.Sdk.ServiceCore.CommonCmdlets.CommonCmdletsLogic.Delegation[T](String name, Func`1 operation)
       at Citrix.Fma.Sdk.ServiceCore.CommonCmdlets.CommonCmdletsLogic.SetDBConnection(String connectionString, String dataStore, Boolean force, Nullable`1 loggingId, ServiceStatus& status, Dictionary`2& errorData)
       at Citrix.Fma.Sdk.ServiceCore.ServiceCore.<>c__DisplayClass10_0.<SetDBConnection>b__2()
       at Citrix.Fma.Sdk.ServiceCore.ServiceCore.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, Enum code)
    Reason : ArgumentException
    Message : registry key not found
    Sdk Error Message : An exception occurred.  The associated message was registry key not found
    Sdk Error ID : Citrix.XDPowerShell.Status.ExceptionThrown,Citrix.ADIdentity.Sdk.DataStore.Commands.SetAcctDBConnectionCommand
    ErrorCategory : NotSpecified
    DesktopStudio_PowerShellHistory : Full Desktop Deployment
    25/4/2019 3:13:26 PM
    
    Get-AcctDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-HypDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-AppLibDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-ProvDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-BrokerDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-MonitorDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -DataStore "Site" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-SfDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-OrchDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-TrustDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-EnvTestDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-AnalyticsDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-ConfigDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-LogDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -DataStore "Site" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-AdminDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNSite" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-LogDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNLogging" -DataStore "Logging" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-MonitorDBSchema  -AdminAddress "SQL Server" -DatabaseName "CTX_SPNMonitoring" -DataStore "Monitor" -ScriptType "FullDatabase" -ServiceGroupName "SPN"
    Get-AcctDBConnection  -AdminAddress "localhost"
    Get-AcctServiceStatus  -AdminAddress "localhost"
    Set-AcctDBConnection  -AdminAddress "localhost" -DBConnection "Server=Servername;Initial Catalog=CTX_SPNSite;Integrated Security=True"
    Set-AcctDBConnection : An exception occurred.  The associated message was registry key not found
        + CategoryInfo : InvalidOperation: (:) [Set-AcctDBConnection], InvalidOperationException
        + FullyQualifiedErrorId : Citrix.XDPowerShell.Status.ExceptionThrown,Citrix.ADIdentity.Sdk.DataStore.Commands.SetAcctDBConnectionCommand
    
    

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...