I have fetched the AD data. After fetching I am loop through each row and fetch the some property value. In between I am getting "COMException was caught", error message is "A local error has occured". Sometime I am getting this error after 1 lakh's record sometime i am getting with in 100 records.
foreach (SearchResult myresults in ResultCollection)
What would be the problem? Please suggest me.