Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

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)
{
my code
}

What would be the problem? Please suggest me.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900