asked on June 18, 2014
•
Show version history
The error message is "The current request could not be performed because there are too many existing operations running. (9035)". This is on a 9.0 server, freshly restarted, with no-one else using the system.
This is the code block:
foreach (DataRow Row in DTNames.Rows)
{
string SearchSyntax = @"{[]:[UCI #]=" + (char)34 + Row[2] + (char)34 + "} & {LF:Name=" + (char)34 + "*" + (char)34 + ",Type=" + (char)34 + "F" + (char)34 + "} & {LF:LOOKIN=" + (char)34 + @"Testing\Client Records\" + (char)34 + "}";
Search ASearch = new Search(LfSesh, SearchSyntax);
ASearch.BeginRun(true); //true means it stays on that command until finished.
SearchListingSettings SLS = new SearchListingSettings();
SLS.EntryFilter = EntryTypeFilter.Documents;
SearchResultListing SRL = ASearch.GetResultListing(SLS);
if(SRL.RowCount > 0)
{
MessageBox.Show(Row[2] + " " + Row[4] + " " + Row[5]);
}
}
0
0