ADAM AND ASP.NET
- From: "fhillipo" <fhillipo@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Jun 2005 04:26:04 -0700
I configured 3 machines on the same domain
A
Windows 2000 Server
SQL Server
IIS
ASP.Net
B
Windows XP
ADAM
C
Windows XP
ADAM
>From machine A I can successfully execute the following query to return
data from ADAM instance on B or C, using Query Analyzer (having configured a
linked server)
SELECT *
FROM
OPENQUERY(ADSI,'<LDAP://machineB:389/O=xxx,C=UK>;((OBJECTCLASS=*));EMPLOYEEID,NAME,TITLE,GIVENNAME,INITIALS, SN,TelephoneNumber;SUBTREE')
or
SELECT *
FROM
OPENQUERY(ADSI,'<LDAP://machineC:389/O=xxx,C=UK>;((OBJECTCLASS=*));EMPLOYEEID,NAME,TITLE,GIVENNAME,INITIALS, SN,TelephoneNumber;SUBTREE')
>From the front end using the web server on machineA I can run all reports,
including the reports that use the above query, accessing ADAM on machineB.
However if I alter the stored procedures to use machineC I get the following
error:
OLE DB provider 'ADSDSOObject' reported an error. The provider indicates
that the user did not have the permission to perform the operation.
Additional Information:
SQL server runs within the context of a domain user with local and domain
admin rights
The said domain user has been added as a windows account in ADAM (as a
Reader within Roles), so have 'service' and 'system' accounts
Any clues greatly appreciated
--
fhillipo
.
- Follow-Ups:
- RE: ADAM AND ASP.NET
- From: Reza
- RE: ADAM AND ASP.NET
- Prev by Date: Re: Disaster recovey
- Next by Date: Avoiding using large numbers of groups
- Previous by thread: Re: Disaster recovey
- Next by thread: RE: ADAM AND ASP.NET
- Index(es):
Relevant Pages
|