Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Error 80072020 When Trying To Access Active Directory

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,31123
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Error 80072020 When Trying To Access Active Directory
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Error 80072020 When Trying To Access Active Directory - 2/15/2006 8:54:04 PM   
  AdrianHowe

 

Posts: 3
Score: 0
Joined: 2/15/2006
Status: offline


Hello,

This is my first posting so here goes!

I'm wanting to find the details of the user currently logged on by accessing Active Directory, from an asp page using vbscript.
The following is an example of the code I'm using:
Dim objUser
Set objUser = GetObject("LDAP://CN=Adrian H,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=ABC,DC=local")
The domain name is 'ABC.local'.

However I keep getting an error message:
"error '80072020'"

IIS, including the asp pages, is housed on a separate server from the primary domain server.
The primary domain server is using Windows 2003 for small business.
The IIS server is using Windows 2000.
My client machine is using Windows XP Professional.

Any help with why this error is occurring and how it can be resolved, will be most welcome please.

Many thanks
Adrian
 
 
Post #: 1
 
 RE: Error 80072020 When Trying To Access Active Directory - 2/16/2006 2:56:56 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
Google is your friend:

http://support.microsoft.com/newsgroups/newsReader.aspx?dg=microsoft.public.adsi.general&tid=3722149a-f531-4dee-81bb-5dbfbe0d4f81&p=1

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to AdrianHowe)
 
 
Post #: 2
 
 RE: Error 80072020 When Trying To Access Active Directory - 2/16/2006 10:01:22 PM   
  AdrianHowe

 

Posts: 3
Score: 0
Joined: 2/15/2006
Status: offline


Many thanks for this.

Adrian

(in reply to ebgreen)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Error 80072020 When Trying To Access Active Directory Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts