Hi <BR> I&#039;m trying to authenticate the Email id with the LDAP server. The attached code works fine if i run with Console application or Windows application. But I&#039;m getting an error if i make it as ASP.net Web application. <BR>LDAP authentication thru anonymous access... <BR><BR>"SearchResultCollection ResEnt = mySearcher.FindAll();" this method throws "Network Path Not Found" Error. <BR><BR><BR>Please help me out! is there any settings needs to be done? <BR><BR>DirectoryEntry entry = new DirectoryEntry("LDAP://IPADDRESS:389/O=XYZ"); <BR>DirectorySearcher mySearcher = new DirectorySearcher(entry); <BR>mySearcher.Filter = "(&(mail=mail@mail.com))"; <BR>SearchResultCollection ResEnt = mySearcher.FindAll(); <BR><BR>