locked
BDC content source crawl error RRS feed

  • Question

  • Hi

    We have a BDC model/external system that we have as a content source and  that when we crawl gives an error below :

    ===============================================================================

    Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified..; SearchID = 63220755-41E5-4C7D-9B22-B35BB66648AC )

    ===============================================================================

    Any help resolving this issue would be helpful

    Thank You and stay safe.

    Kind Regards

    Friday, July 10, 2020 7:56 AM

Answers

  • Hi Julie

    Hope you are well and keeping safe.

    Yes we resolved this error.

    The Newtonsoft.Json.dll was being used by a sharepoint solution (wsp-A) for the BDC.

    There was another sharepoint solution (wsp-B) that we needed to re-deploy and places the Newtonsoft.Json.dll into GAC so that (wsp-A) can use it. when we did this re-deploy and done BDC crawl it worked.

    Please Note : With the re-deploy for (wsp-B) the powershell install command we used included this :                –GACDeployment -Force -FullTrustBinDeployment.

    Thank You

    Regards



    Tuesday, July 28, 2020 8:26 AM

All replies

  • Hi Zunaid,

    How did you set up search using BCS?

    I refer to the following article to test it, it works well.

    https://www.c-sharpcorner.com/blogs/sharepoint-2013-search-using-bcs2

    According to the error message, please try to manually add the Newtonsoft.json.dll file.

    https://stackoverflow.com/questions/38671641/could-not-load-file-or-assembly-newtonsoft-json-version-9-0-0-0-culture-neutr/38715898

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best regards,

    Julie


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

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, July 13, 2020 7:00 AM
  • Hi Zunaid,

    Is there any progress on this issue?

    Please feel free to reply.

    Best regards,

    Julie


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Friday, July 17, 2020 9:43 AM
  • Hi Julie

    Hope you are well and keeping safe.

    Yes we resolved this error.

    The Newtonsoft.Json.dll was being used by a sharepoint solution (wsp-A) for the BDC.

    There was another sharepoint solution (wsp-B) that we needed to re-deploy and places the Newtonsoft.Json.dll into GAC so that (wsp-A) can use it. when we did this re-deploy and done BDC crawl it worked.

    Please Note : With the re-deploy for (wsp-B) the powershell install command we used included this :                –GACDeployment -Force -FullTrustBinDeployment.

    Thank You

    Regards



    Tuesday, July 28, 2020 8:26 AM
  • Hi Zunaid,

    Congratulations on solving this issue and thanks for sharing your solution.

    It will do great help to those who meet the similar question in this forum.

    Thanks again for your contribution.

    Best regards,

    Julie


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Tuesday, July 28, 2020 8:47 AM