Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Error while loading the domain controller: "The Operation is cancelled"
설명
In the Synchronization Editor, when using the connection wizard to connect an Active Directory (AD) domain, it is failing to load domain controllers in the available drop down. The error is:
"The Operation is cancelled"
2023-04-19 17:48:55.6360 FATAL (VI.FormBase.ExceptionMgr ) : (Application version 8.2 v82-139719) Value cannot be null. Parameter name: source System.ArgumentNullException: Value cannot be null. Parameter name: source at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at VI.Projector.ADS.UI.WizardV2.ADv2PageConnectOptions._initializeDomainControllerCombo(String configuredDc) at VI.Projector.ADS.UI.WizardV2.ADv2PageConnectOptions.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector) at VI.Projector.ADS.UI.WizardV2.ADv2PageConnectOptions._initializeDomainControllerCombo(String configuredDc) at VI.Projector.ADS.UI.WizardV2.ADv2PageConnectOptions.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
해결 방안
In the wizard a timeout of 20 seconds is defined when searching for a Domain Controller (DC). That was NOT implemented in version 8.1.4, but since 8.1.5 that timeout was added.
The domain controller can be defined manually in the connection wizard. The determination of the DCs to provide all of them in the drop down list is there to assist the user creating the connection. But it's not necessary for the functionality of the wizard.
For example, it takes exactly 20 seconds to load the list of DCs in the older version (8.1.4). However, if it takes only 1 millisecond longer (in 8.2 and above), the timeout is exceeded and the error is displayed.
In environments where it takes more than 20 seconds, the user has to define the DC manually.
We have created an enhancement (428435 ) to make the error message more meaningful when that's the case:
Instead of the error the wizard should stop the DC search silently and inform the user that it took too long and the DC must be entered manually.