Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Here is the setup

  • SharePoint 2010
  • BDC application definition
  • Search Content Source of type Line of Business that crawls the BDC

Steps taken

  1. Import BDC application definition version 1.0.0.0
  2. Create content source for the BDC
  3. Full crawl content source
  4. View crawl logs shows 1000 successes
  5. Import updated BDC application definition version 2.0.0.0
  6. Full crawl content source
  7. View crawl logs shows 1000 successes and 1000 errors

The errors are all the same:

Error while crawling LOB contents. ( IEntity could not be found using criteria 'Id=5521'. )

Using Powershell Get-SPBusinessDataCatalogMetadataObject I can see that Id=5521 is the Id of the Entity in the BDC version 1.0.0.0

I can see by the Id in the crawl logs the successes are all for the updated Entity in the BDC version 2.0.0.0

I've tried full crawling the content source many times and the errors never go away. The only way I can find to get rid of them is to delete the content source and re-create it.

Why is this happening? Is there a better way to fix this than deleteing the content source?

share|improve this question
add comment

1 Answer

I have run into this problem as well. What i found helped is that if i had external lists generated, i had to re-generate them, then crawl again. Not sure why it worked but it seemed to.

share|improve this answer
    
Yep we had this too - the search is crawling the external lists which are trying to point to the original BDC. Unfortunately you have to recreate the external lists. :( –  Russell Dec 22 '11 at 21:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.