XenDesktop 7.18: New machine catalog creation fails with error 'Logging error'

In XenDesktop 7.18, new MCS catalog creation may fail with the error ‘Logging error’ as shown in the screenshot below –

User-added image
Clicking on view details presents with verbose error as shown below –

Error Id: XDDS:CA90918F

Exception:

Citrix.Console.Models.Exceptions.ScriptException Logging 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.ProvisioningSchemeService.BackgroundTasks.IdentityPoolCreationTask.CreateIdentityPoolName(IdentityPoolModel identityPoolProperties)

at Citrix.Console.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()

DesktopStudio_ErrorId : ConfigurationLoggingError

Exception : Citrix.ConfigurationLogging.Client.ConfigurationLoggingException: Failed to log low level operation start —> System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)

at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)

at System.String.Format(IFormatProvider provider, String format, Object[] args)

at Citrix.ConfigurationLogging.Client.LowLevelOperationScope.StartLowLevelOperation(LowLevelOperationInfo operationInfo)

at Citrix.ConfigurationLogging.Client.LowLevelOperationScope.StartOperation()

— End of inner exception stack trace —

at Citrix.ConfigurationLogging.Client.LowLevelOperationScope.StartOperation()

at Citrix.ConfigurationLogging.Client.LoggingFactory.CreateLowLevelOperation(IConfigurationLoggingEndpoint loggingEndpoint, IWcfConnectionService wcfConnection, IResourcesService resources, LowLevelOperationInfo operationInfo, String source, String sourceSdk, ConfigurationLoggingSettings loggingSettings, Action`2 loggingErrorCallback, Boolean noStopOnDispose, Boolean logDetailsOnLowLevelStop)

at Citrix.ConfigurationLogging.Client.ConfigurationLoggingProvider.StartLoggableOperation(LowLevelOperationInfo operationInfo, Boolean noStopOnDispose)

at Citrix.ADIdentity.Logic.ADIdentityLogic.NewIdentityPoolParameterized(NewIdentityPoolParameters parameters, IdentityPool& identityPoolObject)

at Citrix.Fma.Sdk.ServiceCore.ServiceCore.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, Enum code)

Reason : ConfigurationLoggingException

Message : Failed to log low level operation start

Sdk Error Message : The operation could not be performed because of a configuration logging error.

Sdk Error ID : Citrix.XDPowerShell.Status.ConfigurationLoggingError,Citrix.ADIdentity.Sdk.Commands.NewAcctIdentityPoolCommand

ErrorCategory : NotSpecified

DesktopStudio_PowerShellHistory : Create Machine Catalog ‘Test123456’

7/30/2018 3:30:00 PM

Related:

Fail to Open the Service Console Manager

I need a solution

Hi Guys,

Im having issue when pushing the agent from Notification Server, it show failed to open service console manager. 

Failed to open the Service Console Manager on BDSF. Return value=0, Error:800706ba
   [System.Runtime.InteropServices.COMException @ Altiris.NS]
   at Altiris.NS.Utilities.RemoteServiceMgr.OpenSCManager(String sMachineName, Boolean bFirstTime)
   at Altiris.NS.Utilities.RemoteServiceMgr.QueryServiceStatus(String sMachineName, String sServiceName)
   at Altiris.NS.Utilities.ClientPushMgr.DoPush(PushAgentToComputersData data, DiscoveredMachineInfo dmi, String connectionName)
   at Altiris.NS.Utilities.ClientPushMgr.DiscoveryAndPush(PushAgentToComputersData data, AgentPushDataWindowsRow row, ParallelLoopState state)

COM Exception errcode: 0x6BA

Exception logged from: 
   at Altiris.NS.Utilities.ClientPushMgr.DiscoveryAndPush(Altiris.NS.Utilities.ClientPushMgr+PushAgentToComputersData, Altiris.NS.AgentManagement.ClientPushInstall.AgentPushDataWindowsRow, System.Threading.Tasks.ParallelLoopState)
   at Altiris.NS.Utilities.ClientPushMgr.Execute(Altiris.NS.Utilities.ClientPushMgr+AsyncPushRequest)
   at RuntimeMethodHandle.InvokeMethod(Object, Object[], Signature, Boolean)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object, Object[], Object[])
   at System.Reflection.RuntimeMethodInfo.Invoke(Object, System.Reflection.BindingFlags, System.Reflection.Binder, Object[], System.Globalization.CultureInfo)
   at Altiris.NS.TaskManagement.TaskThread.Execute(Altiris.NS.TaskManagement.TaskManagerServiceArgs, Altiris.NS.ContextManagement.ProgressContext)
   at Altiris.NS.TaskManagement.CoreTaskServiceThreadBase<T,TStartArgs>.ExecuteThreadProc(Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, Object)
   at System.Threading.ThreadHelper.ThreadStart(Object)

I had try to search for KB, set it to be “1” (AgentPushPreferFqdn) in the CoreSettings.config. But is not working.

Thanks

Wei Liang 

0

Related: