none
Error crawling External Content - Error while crawling LOB contents

    Question

  • Dears,

    We have a content source for crawling External Data which was running incremental crawl fairly fine (502 success | 5 errors); till yesterday. Today I ran a full crawl and all of a sudden i got 1203335 errors under crawl log for this content source. Below is the error -

    The error description is -

    Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.MetadataModel.MetadataObjectNotFoundException IEntity could not be found using criteria 'Id=2105'.; SearchID = 35539372-81FA-4209-B2A5-22C645562367 )

    In this error, for every crawled item (different customer), the one thing common is the 'Id' value viz. 2105.

    Any known reasons for this error to occur all of a sudden.

    Friday, April 07, 2017 3:09 PM

All replies

  • Hi IMSunny, 

    It always helps to test by logging into the external list you created as the Crawl Account. If you can't get the external list to work with the crawl account, crawling won't work.

    Make sure crawl account to have EXECUTE rights on the external content type. Look in the Search Service Application for what account is used for crawl, then go to the BCS service application and grant the crawl account EXECUTE rights on the External Content Type. 

    Best Regards, 

    Lisa Chen 


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, April 10, 2017 2:58 AM
    Moderator
  • Hi,

    Before diving into analyse, please ensure all components in your search topology up and running without any errors on your search form dashboard page (searchfarmdashboard.aspx).

    Are you happen to use the external content type in  from any of these data source ? If yes please check all methods in the content type resolves any problem.

    If you are not using the external content type, still I would suggest you to check all the procedures,views and functions in source database resolves without problem.

    If this error occurred for all LOB database, check database compatibility that exactly coincide with SQL Content DB.

    If it is happened to all database including SharePoint Content Database, then you consider Lisa Chen's suggestion. 


    Please remember to click Mark as Answer on the answer if it helps you



    Monday, April 10, 2017 4:06 AM
  • Dears,

    The external content types are working fine. I am able to pull the records in SharePoint list using the External content types.

    However while crawling the content source using this content type, I am not seeing any crawl results. Regarding the permissions, I have for now, given 'All Users' execute permission on this content type. Still the full crawl fails.

    Actually there are 3 content types created using content from the same Database and each content type has a content source associated to it. Out of which 1 content source is working fine and the other 2 are not.

    Monday, April 10, 2017 10:09 AM
  • Dears,

    Any help on this matter???

    What is this "criteria id" (2105) in the below error which is being received -

    Error caused by exception: Microsoft.BusinessData.MetadataModel.MetadataObjectNotFoundException IEntity could not be found using criteria 'Id=2105'

    Is this Id of some metadata which is expected? Or else what is this id which is 'not found'?

    Thursday, April 13, 2017 7:34 AM
  • Hi,

    Could you please post the error message occurred for those content types. ? If the content types created through Visual Studio ? please check edm file coincided with all columns.

    To identify these problem, Can you create the ECT Profile page on your ECTs, and it can shows the error caused to stop the crawling.

    If it is created through SPD, please check the error and warnings on all methods.

     Beyond this, It requires some expert help on diagnosing the problem.


    Please remember to click Mark as Answer on the answer if it helps you



    Saturday, April 15, 2017 3:11 AM
  • Hi IMSunny,

    Please refer to the following article to Setup SharePoint Search to Crawl External Content With BCS:

    http://prairiedeveloper.com/2016/04/setup-sharepoint-search-crawl-bcs/

    Refer to the following article to troubleshoot SharePoint Search – Error While Crawling LOB Contents:

    http://prairiedeveloper.com/2016/04/sharepoint-search-error-crawling-lob-contents/

    Best Regards,

    Lisa Chen


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Monday, April 17, 2017 6:37 AM
    Moderator
  • Dear Lisa,

    Thanks for sharing the article, however the article is for a different error (AccessDeniedException) and not what I am facing. The error I am facing is -

    Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.MetadataModel.MetadataObjectNotFoundException IEntity could not be found using criteria 'Id=2105'.; 

    Dear Murugesa,

    ECT are created from SPD. Can you please tell me how should I check "Errors and warning on all methods"?

    Tuesday, April 18, 2017 9:00 AM
  • Dears,

    Any inputs on why this error occurs while crawling an ECT -

    Error caused by exception: Microsoft.BusinessData.MetadataModel.MetadataObjectNotFoundException IEntity could not be found using criteria 'Id=2105'.

    Wednesday, April 19, 2017 9:41 AM
  • Was anyone able to resolve this issue?
    Thursday, January 04, 2018 11:05 PM
  • Any pointers on this?
    Monday, January 08, 2018 6:06 PM