adsi linked servers

From: Chris Szabo (cszabo@aerotechlabs.com)
Date: 12/02/02


From: "Chris Szabo" <cszabo@aerotechlabs.com>
Date: Mon, 2 Dec 2002 11:50:10 -0800


I'm creating an application that pulls data from a variety
of sources. Among these sources is a Windows 2000 Active
Directory. As such, I would like to create a linked
server out of the Active Directory repository.

I'm following the directions for the OLE DB Directory
Service Provider. I add the linked server with this TSQL
command:

EXEC sp_addlinkedserver 'ADSI', 'Active Directory Services
2.5', 'ADSDSOObject', 'adsdatasource'
GO

The server is added successfully, however when I try to
access tables or views through enterprise manager I
receive an error, "Count not obtain a required interface
from OLE DB provider 'ADSDSOObject'".

If I execute an openquery command from query analyzer I
receive an error message, "n error occurred while
preparing a query for execution against OLE DB
provider 'ADSDSOObject'."

Does anyone know where I'm going wrong. Any help is much
appreciated. Thanks.



Relevant Pages

  • Re: Facing problem in accessing analysis service 2005 database from other machine
    ... You need to install the 9.0 OLE DB provider on the client machine. ... Microsoft SQL Server 2005 Analysis Services 9.0 OLE DB Provider ...
    (microsoft.public.sqlserver.olap)
  • Re: non-sa users get access denied in OLE DB query
    ... Ad hoc access to OLE DB provider 'IBMDADB2' has been denied. ... access this provider through a linked server. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ...
    (microsoft.public.sqlserver.security)
  • Re: miising oracle odbc data provider
    ... available 64bit Microsoft OLE DB Provider. ... this provider will be available to a Service Pack 3 to its Windows ... Windows Server 2008. ...
    (microsoft.public.sqlserver.odbc)
  • RE: sql2k: linked server auf ms access
    ... Ist dei Datei durch eine Sicherheitsdatei geschützt? ... > habe probleme mit einem linked server auf eine access-db: ... > OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. ...
    (microsoft.public.de.sqlserver)
  • about Linked Servers
    ... Query Analyzer Not Complete.. ... OLE DB provider 'MSDAORA' reported an error. ...
    (microsoft.public.sqlserver.security)