Z
Z D
Hello,
I have an ASP.NET application from which I'd like to query active directory
for some information on a given user account (for example, the description
field, or e-mail field, etc).
When I try this code in a windows app things work fine. I'm assuming this
is because I'm running the program while being logged in as a domain user.
When I run the same code in ASP.NET (IIS v5), I get a
"System.Runtime.InteropServices.COMException: The specified domain either
does not exist or could not be contacted".
I'm assuming this is because ASP.NET is running the code under the I_USR
account which does not have domain access? SO, I specified a domain account
under "Anonymous Access" in the hopes that everything would be running under
this account.
The same error still continues... so, I was wondering if anybody could
please explain to me what the problem is and how to resolve it??
All I need to do is to be able to query AD from my ASP.NET application.
Thanks!
-ZD
I have an ASP.NET application from which I'd like to query active directory
for some information on a given user account (for example, the description
field, or e-mail field, etc).
When I try this code in a windows app things work fine. I'm assuming this
is because I'm running the program while being logged in as a domain user.
When I run the same code in ASP.NET (IIS v5), I get a
"System.Runtime.InteropServices.COMException: The specified domain either
does not exist or could not be contacted".
I'm assuming this is because ASP.NET is running the code under the I_USR
account which does not have domain access? SO, I specified a domain account
under "Anonymous Access" in the hopes that everything would be running under
this account.
The same error still continues... so, I was wondering if anybody could
please explain to me what the problem is and how to resolve it??
All I need to do is to be able to query AD from my ASP.NET application.
Thanks!
-ZD