Error after login: Can't show your datasource

Error after login: Can't show your datasource

avatar

System.Net.WebException: Unexpected exception
vid Devolutions.Server.ApiWrapper.RDMSWebClient.RunSynchronous[T](Task`1 task)
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.cffa2589520e9e4de721a198d2c64e4e0.cdf58e16eb8b138876bc94432fe455e46()
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.c4cfebae48c715cba5241d6a671d47c8d[cb75a0a5d15a1ad8b8a8a5e57cca214a3](c31561c0d54939abd223ac7c0cf30e7e6`1 c6cc9ab02b2ea9ccd42c7c0497677bcc2, String ce54111a2f696be07240ffb02871e6867)
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.c5f4f6c72c053c0cd60a62abeeaa43fdf[cb75a0a5d15a1ad8b8a8a5e57cca214a3](c31561c0d54939abd223ac7c0cf30e7e6`1 c6cc9ab02b2ea9ccd42c7c0497677bcc2, ExecuteActionLogMode c92f46156e371279a4f61cd5822be5fee)
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.GetData(String proxyConnectionCacheID, Byte[] version, String repositoryID)
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSConnectionDataSource.GetDataSourceSettings(String repositoryID)
vid Devolutions.RemoteDesktopManager.Business.DataSources.RDMSConnectionDataSource.GetDataSourceSettings()
vid Devolutions.RemoteDesktopManager.Managers.ConnectionManager.c29fbd34504079a3525ca4c390d5d4074(ConnectionEngine cb85976372b62c8c45ee9bbcc16483427)
vid Devolutions.RemoteDesktopManager.Managers.ConnectionManager.c6d8a88b8f0abf3333cb0ceae55264d99(ConnectionEngine cb85976372b62c8c45ee9bbcc16483427, Boolean cfe205b02d73750f8fd14d199343fe545)
vid Devolutions.RemoteDesktopManager.Managers.ConnectionManager.ca4799bebd8b706f34eea94a778843b55(ConnectionEngine cb85976372b62c8c45ee9bbcc16483427, Boolean cfe205b02d73750f8fd14d199343fe545)
vid Devolutions.RemoteDesktopManager.Manage

forum image

Also are getting a lot of mail after each try




The following error
was received by dvls at 03/01/2022 12:46:03





Error:

ActiveDirectoryOperationException
- Default at
System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext
context, String partitionName, String siteName, Boolean isDefaultNC, Boolean
isADAM, Boolean isGC) at System.DirectoryServices.ActiveDirectory.DomainController.FindAllInternal(DirectoryContext
context, String domainName, Boolean isDnsDomainName, String siteName) at
Devolutions.Server.ActiveDirectory.DomainProperties.MsDomainProperties.c55ee4c3c7d85cf4d9b9685865e1e90ba(Domain
c5b591b7955deb9ddac9f502d298faf48) at
Devolutions.Server.ActiveDirectory.DomainProperties.MsDomainProperties.GetDomainProperties()
at
Devolutions.Server.ActiveDirectory.Microsoft.MsActiveDirectoryManager.GetDomainProperties()
at Devolutions.Server.ActiveDirectory.Microsoft.MsActiveDirectoryManager.IsDomainFunctionalLevelValid()
at
Devolutions.Server.ActiveDirectory.DataManagement.DomainConfigurationManager.cd39cd6be348d7f508f6e9134314292f5(IDomainConfiguration
c38c87f91a468277521814d7ec0b75e32) at Devolutions.Server.ActiveDirectory.DataManagement.DomainConfigurationManager.Save(IDomainConfiguration
domainConfiguration) at
Devolutions.Server.ActiveDirectory.DataManagement.DomainConfigurationManager.ca1ef919ec4e284a9abf2c13f0458c553()
at Devolutions.Server.ActiveDirectory.ActiveDirectoryFactory.cc2a43d8429593931b2999a2a83029ddb(ActiveDirectoryFactoryParameters
cd859b08da59abe612143bd1559182965) at
Devolutions.Server.ActiveDirectory.ActiveDirectoryFactory.Get(ActiveDirectoryFactoryParameters
parameters) at Devolutions.Server.ServerCacheManager.GetRoleEntities() at
Devolutions.Server.RoleManager.GetRolesForUser(ISessionContext context) at
Devolutions.Server.ConnectionManager.FilterConnectionsWithRoles(ISessionContext
context, Guid repositoryId, Byte[] clientVersion, List`1 connectionList, Boolean
includeDeleted, DebugStopwatch parentStopwatch) at
Devolutions.Server.ConnectionManager.c2c7ebe143d079b3960f918212592269b(ISessionContext
c7f73d40d473700e7f67b5ed4acf6d298, Byte[] cea05371faed2431881d0df1001390553,
Guid c361d32ed9dbabdaa7e15d7e959021cd8, Boolean
c3cd39bc6269d446b5a02860b310cfabb) at
Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.GetData(DataOptionsEntity
options) at lambda_method(Closure , Object , Object[] ) at
System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object
instance, Object[] methodParameters) at
System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext
controllerContext, IDictionary`2 arguments, CancellationToken
cancellationToken) --- End of stack trace from previous location where
exception was thrown --- at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at
System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task) at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
------------------------------------------ DirectoryServicesCOMException - An
operations error occurred. at
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at
System.DirectoryServices.DirectoryEntry.Bind() at
System.DirectoryServices.DirectoryEntry.get_AdsObject() at
System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
at
System.DirectoryServices.ActiveDirectory.Utils.GetReplicaList(DirectoryContext
context, String partitionName, String siteName, Boolean isDefaultNC, Boolean
isADAM, Boolean isGC)


Source:

System.DirectoryServices


All Comments (8)

avatar

Hello,

What RDM version are you using?

What DVLS version are you using?

Can you verify the domain and forest functional level of your environment?

Best regards,

Érica Poirier

avatar

forum image

forum image

Both domain and forest levels are Windows Server 2016

avatar

Hello,

Thank you for your feedback.

Have you configured the URL to reach your DVLS instance in RDM as it's set in the Access URI in the IIS tab of the DVLS settings? This URL is case sensitive and I see that the IIS Application pool is set with DVLS in capital letter.

Best regards,

Érica Poirier

avatar

I tried changing to lowercase letters but then I only got this during login
forum image

When I use capital letters the login works as it should
Then after login, I get those errors that are listed above.

avatar

Hello,

Thank you for your feedback.

It seems that your DVLS instance is having some problems when getting the list of your domain controllers.

Is the Administration credentials parameter is properly configured in the Domain settings of your DVLS?

If so, please send an email to service@devolutions.net to book a support session. Please add a reference to this thread in your message.

Best regards,

Érica Poirier

avatar

Where do I find that setting?

avatar

Érica Poirier

avatar

Hello,

@everyone we have solved the authentication because of an issue with the migration of the domain configuration to the new table. Once we have wiped out the current domain settings and set it back properly, then the authentication is working properly.

Best regards,

Érica Poirier