Forum / Remote Desktop Manager - Support

Error Logging into RDM with Windows Credentials enabled.

  • Create an Issue
  • Cancel

Hello All,
I am currently receiving the below error when trying to log into RDM. I tried to do some googling and searching on the forums, but could not find a related article.


10/11/2018 2:03:16 PM, COMException - Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB, , Error, COMException - Creating an instance of the COM component with CLSID {080D0D78-F421-11D0-A36E-00C04FB950DC} from the IClassFactory failed due to the following error: 800401e4 Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX)).
at System.DirectoryServices.AccountManagement.ADStoreCtx.LoadDomainInfo()
at System.DirectoryServices.AccountManagement.ADStoreCtx.get_DnsForestName()
at System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOf(Principal foreignPrincipal, StoreCtx foreignContext)
at System.DirectoryServices.AccountManagement.Principal.GetGroups(PrincipalContext contextToQuery)
at Devolutions.RemoteDesktopManager.Managers.DirectoryServicesManager.GetGroups(UserPrincipal userPrincipal, PrincipalContext context, Boolean nested)
at Devolutions.RemoteDesktopManager.Managers.DirectoryServicesManager.GetUserDetails(String fullName, DirectoryServicesQueryParameter directoryServicesQueryParameter, Boolean isMultiDomain, Boolean isNested, RoleInfoEntity[] roleNames)
at Devolutions.Server.Managers.AuthenticationProvider.UpdateMembershipDataWithDomainUserInfo(String userName, String password, LoginContext membershipLoginData, UserPrincipal findByIdentity, DirectoryServicesQueryParameter parameters)
at Devolutions.Server.Managers.AuthenticationProvider.ProcessDomainUserInfo(String userName, String password, LoginContext membershipLoginData)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUserAgainstDomain(LoginContext loginData, UserInfoEntity userInfoEntity, String password)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUser(LoginContext loginData, String username, String password, UserData userData)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUser(LoginContext loginData, String username, String password)
at Devolutions.Server.Managers.AuthenticationProvider.AuthenticateUser(LoginContext loginData, String userName, String password)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUserFull(LoginContext loginData, String userName, String password)
at Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.DoLogin(SessionContext context, String userName, String password, ClientApplicationInfo clientApplicationInfo, String twoFactorID, TwoFactorInfo twoFactorInfo, String publicIPAddress, Byte[] sessionKey, String repositoryId, Boolean partialMode, Boolean useWindowsAuthentication, String localMachineName, String localMachineUserName)
at Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.Login(LoginData loginData, Boolean partialMode)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(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__0.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__5.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__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.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.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__2.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__0.MoveNext()

Clock2 mths

I was working on a different issue and it seems to have fixed this. I setup admin credentials in "Domain Authentication" and the issue appears to have resided.

https://helpserver.devolutions.net/index.html?settings_domain.htm

Clock2 mths

Hello,

Thank you for your feedback.

Glad that you have been able to fix your issue smile

Best regards,



Jeff Dagenais

signaturesignature

Clock2 mths

Hello,

After a discussion with an engineer, it seems that this issue is caused by an Active Directory that is not up to date or a Domain Controller that cannot reply with the right answer format to the LDAP query.

failed due to the following error: 800401e4 Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX))

Do you have only one or many Domain Controller in your environment?

Do you know if Active Directory has been updated to the latest version?

Could you please try the following to see if this will resolve the issue?
Navigate to the Advanced Settings of your IIS App Pool and set the "Load User Profile" option to True.
image
Best regards,



Érica Poirier

Customers that use Devolutions Password Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock2 mths

Thank you for the quick reply Erica! This took me awhile to get to, but I have made the change and will update you if I experience the issue in the next week. Also, I have the answer to your questions below.


Do you have only one or many Domain Controller in your environment?
Multiple DC's around 20 in one Forrest alone.
Do you know if Active Directory has been updated to the latest version?
Functional level is windows 2012 R2
Could you please try the following to see if this will resolve the issue?
Navigate to the Advanced Settings of your IIS App Pool and set the "Load User Profile" option to True.


his has been applied and will update in the next week.

Clock26 days

Hello,

Thank you very much for the information.

We will wait for your reply about this.

Best regards,



Érica Poirier

Customers that use Devolutions Password Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock25 days