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://CMRNT029:389/O=TRW");<BR>DirectorySearcher mySearcher = new DirectorySearcher(entry);<BR>mySearcher.Filter = "(&(mail=mail@mail.com))";<BR>SearchResultCollecti on ResEnt = mySearcher.FindAll();<BR>