Solved

Query of Active Directory began failing yesterday: Table does not exist.

Posted on 2008-10-28
5
1,113 Views
Last Modified: 2012-05-05
We have a classic ASP page that was working great until yesterday.  It does a user lookup against Active Directory ... doing a SQL-like query using the ADsDSOObject provider.

The query is:
select cn, mail from 'GC://10.XX.YY.ZZ' where cn = 'wilson*' or sn = 'wilson*' order by sn

(internal IP address munged ... it's really a full IP)

The error is:
Error Type:
Provider (0x80040E37)
Table does not exist.

I know that over the weekend the infrastructure team applied a bunch of patches.  But I need them to specifically look for ... something.

What should I have them looking for?  Changing a global catalog server?  Changing a primary role holder?

Thanks!
0
Comment
Question by:Daniel Wilson
  • 2
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 400 total points
Comment Utility
Hi, DanielWilson.

The error says that either the server doesn't exist, i.e. the address has changed, or the server is not a GC, or it was not contactable.  So, to start off, I'd check the to make the server has the correct IP address, that it is a GC, and that it can be seen on the network.
0
 
LVL 32

Author Comment

by:Daniel Wilson
Comment Utility
Ok, a domain admin just gave me a different IP ... that worked.

So it appears the server I was using either got taken off the network, IP changed, or quit being a GC?
0
 
LVL 76

Expert Comment

by:David Lee
Comment Utility
Correct.
0
 
LVL 3

Assisted Solution

by:Darksied9
Darksied9 earned 100 total points
Comment Utility
Yeah that is the issue.  I would not use the IP, but rather the FDQN for the Domain itself.  If your domain is int.computer.com put that in... That will guarantee that you always hit a valid GC.
0
 
LVL 32

Author Closing Comment

by:Daniel Wilson
Comment Utility
Thanks, guys!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now