Pages

Monday, 26 January 2015

Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation..: System.Net.WebException The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.; SearchID

Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation..: System.Net.WebException The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.; SearchID 

The issue with the certificates not being recognized as trusted in the SharePoint Farm. To resolve this:


  • Go the the Certificate, Click on Certificate Path 
  • Select the Root Certifcate, Double Click on it
  • Click on Details 
  • Click on Copy to File
  • Save the file
  • Now Go to SharePoint > Security > Manage Trust
  • Create a New Trust >  Import the Root certificate
  • Click oK
  • Run and iisreset on the SharePoint servers
  • Run a full crawl now


Issue resolved for me.

Check the ULS to find more information , may have to switch on verbose extended logging, but generally speaking, the cause of the issue will be the certificates.

3 comments:

  1. I have met such problem. But now I am using Ideals virtual data room and everything is OK. It is very powerful service and has a lot of advantages.

    ReplyDelete
  2. BlueHost is ultimately one of the best website hosting provider with plans for any hosting requirements.

    ReplyDelete
  3. four and a half year later and still the same issue with the same fix, thanks :)

    ReplyDelete