Error: "Exception from HRESULT: 0x8000500C" When Configured For LDAP Authentication And Attempting Login To Visualizer (Doc ID 2171761.1)

Last updated on SEPTEMBER 30, 2016

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 15.2.0.0 and later
Information in this document applies to any platform.

Symptoms

When configured for LDAP authentication and attempting login to Visualizer, the following error occurs:

ERROR
-----------------------
Exception from HRESULT: 0x8000500C

at System.DirectoryServices.Interop.UnsafeNativeMethods.IDirectorySearch.GetColumn(IntPtr hSearchResult, IntPtr szColumnName, IntPtr pSearchColumn)
at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.GetCurrentResult()
at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.System.Collections.IEnumerator.get_Current()
at System.DirectoryServices.SearchResultCollection.get_InnerList()
at System.DirectoryServices.SearchResultCollection.get_Count()
at Primavera.Venus.Data.DbStore.LdapAuthenticator.AuthenticateByOneConfig(LdapConnectionParams anLdapConfig, String userName, String password)
at Primavera.Venus.Data.DbStore.LdapAuthenticator.AuthenticateUser(String userName, String passWord)
at Primavera.Venus.Data.DbStore.DbDatastore.AuthenticateUser(String username, String password)
at Primavera.Venus.DataRepository.BaseDataserviceContext.OpenSession(String alias, String username, String password, String selectedLanguageId, String engineType)
at Primavera.Venus.DataRepository.Definition.SessionRepository.OpenSession(String alias, String username, String password, String selectedLanguageId, Boolean IsClearTextPassword)
at Primavera.Venus.Presentation.LoginService.AuthenticateUser(String alias, String username, String password, String selectedLanguageId, Boolean IsClearTextPassword)
at Primavera.Venus.Login.LoginViewModel.DoLogin()
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<>c__DisplayClass2.<.ctor>b__0(Object arg)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<Execute>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<System.Windows.Input.ICommand.Execute>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

STEPS TO DUPLICATE
-----------------------
The issue can be reproduced at will with the following steps:

  1. Configure P6 EPPM for LDAP Authentication
  2. Attempt to login to Visualizer
  3. Note the reported error which occurs

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms