Hi, I'm getting an error "
The current request could not be performed because there are too many existing operations running.[9035]"
When using the SDK's Laserfiche.ClientAutomation to perform searches. I see some answers/forum articles on this, talking about disposing of search objects, but they don't seem to be using ClientAutomation or ImageEnable. I'm not sure what I should be disposing of, or what to do in this case. Is there any way to dispose of what needs to be disposed without closing the Laserfiche Client windows that are opened when performing the search? Thank you.
The error occurs after attempting to launch approximately 10 searches in a row. Closing document viewer windows seems to free up room for more searches to be performed.
This is a portion of the code that executes the search:
SearchOptions searchoptions = new SearchOptions(); searchoptions.NewWindow = false; searchoptions.OpenIfOneResult = true; searchoptions.EagerlyRetrieveResults = false; searchoptions.Query = searchString; mainwindow.LaunchSearch(searchoptions);