We were experiencing "blank" search results from certain result types related to business data connectivity service content sources. When attempting to run full crawls, there would be periods of crawl issues in the crawl log:
Error while crawling LOB contents. ( Error caused by exception: System.InvalidOperationException This SPServiceContextScope is being disposed out of order.; SearchID = <<guid>> )
I figured this was causing the empty results to appear and there seemed to be no way of fixing this. I didn't want to reset all content as we have many content sources and I would spend all day trying to crawl each one. So therefore I decided to try a less disruptive approach and it worked!
Here's what I did:
On completion of my full crawls, I now had no Warnings or Errors on the two content sources I recreated:
Error while crawling LOB contents. ( Error caused by exception: System.InvalidOperationException This SPServiceContextScope is being disposed out of order.; SearchID = <<guid>> )
I figured this was causing the empty results to appear and there seemed to be no way of fixing this. I didn't want to reset all content as we have many content sources and I would spend all day trying to crawl each one. So therefore I decided to try a less disruptive approach and it worked!
Here's what I did:
- Deleted the Content Source from the Search Service Application
- Recreated the Content Source using the same name.
- Run a full crawl on the content source
- Once the full crawl is finished, repeat for any other BCS content sources.
On completion of my full crawls, I now had no Warnings or Errors on the two content sources I recreated:



