I am using a ASP page that allows different users to access via AD. But somehow the code stopped working. There is a error on the screen. The error number is 8007054b. I went on the web to find out relative information on the same but not able to find anything related to that. I am having one of Asp application that works fine for the same process. I am not able to find the actual cause of failure. I had posted the code below.
Code:
strDomainUser = strDomain & "\" & strUserId
Set objRootDSE = GetObject("LDAP://rootDSE")
strADSPath = objRootDSE.Get("rootDomainNamingContext")
Set objDSObj = GetObject("LDAP:")
Set objAuth = objDSObj.OpenDSObject("LDAP://" & strADSPath,
strDomainUser, strPassword, 1)
Bookmarks