We have recently migrated few SharePoint webservers from ESX to Hyper V. We have not migrated AD. We are getting COMException on all our applications only from the migrated servers. All other servers does not have issues. Error deatails are below.
Exception details: System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password.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 Project.FrameWork.ActiveDirectory.ADUtility.SearchAD(String adApplicationPath, String ladpFilter, String[] propertiesToLoad)
at Project.FrameWork.ActiveDirectory.ADProvider.Project.FrameWork.ActiveDirectory.IADChildProvider.GetGroups(SearchResult sr, ADGroupType groupType, Boolean isRecursive)
at Project.FrameWork.ActiveDirectory.ADProvider.Project.FrameWork.ActiveDirectory.IADChildProvider.GetUsers(SearchResult sr, Boolean isRecursive)
at Project.FrameWork.ActiveDirectory.ADGroup.GetChildUsers(Boolean isRecursive)
We are querying Active Directory users from our code. If somebody faced and resolved this type of error, please share the resolution. Thanks in advance.