Hi all,
I've read many times some threads with this problem but no answer is
simple and good enough. Here's my situation:I've developed a web
application with query LDAP which from System.Environm ent.UserName gets
Name,Department , and so on. It works fine if I access the site with
http://localhost/Site, but if I use
http://Server/Site it gives me the following error:
[COMException (0x80072020): An operations error occurred.
]
System.Director yServices.Direc toryEntry.Bind( Boolean throwIfFail)
+610
System.Director yServices.Direc toryEntry.Bind( ) +36
System.Director yServices.Direc toryEntry.get_A dsObject() +31
System.Director yServices.Direc torySearcher.Fi ndAll(Boolean
findMoreThanOne ) +73
System.Director yServices.Direc torySearcher.Fi ndOne() +42
MasterPage.GetI D() in
c:\inetpub\wwwr oot\trackingact ivity\MasterPag e.master.vb:19
MasterPage.Page _Load(Object sender, EventArgs e) in
c:\inetpub\wwwr oot\trackingact ivity\MasterPag e.master.vb:7
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +99
System.Web.UI.C ontrol.LoadRecu rsive() +47
System.Web.UI.C ontrol.LoadRecu rsive() +131
System.Web.UI.P age.ProcessRequ estMain(Boolean
includeStagesBe foreAsyncPoint, Boolean includeStagesAf terAsyncPoint)
+1061
and the source of the problem is the function:
Result = mySearcher.Find One()
So, the server is in my domain, I use VS2005, iis settings are:
Enable anonymous access --> NO!!!
Enable Integrated Windows, Digest, Basic Authentication
Please, what can we do to make it work?:)))
Thank you.
--
Tatopitta
------------------------------------------------------------------------
Posted via
http://www.codecomments.com
------------------------------------------------------------------------