Forum Discussion
DaR0GaE1
Mar 20, 2017MVP
SharePoint Server 2016 Hybrid search gives empty results in on premises
Hello,
My recent interest has been getting my dev SP 2016 setup as hybrid environment.After going through all the configuration steps, I am able to search for on-premises content via the SharePoint Online search, however, On-Premises search cannot find Online.
I've been following the steps described in the 'Configure Hybrid Search -roadmap' article. Prior to that article I also had my Azure Active Directory Synchronization done.
Setting up the Cloud Search Service Application using the CreateCloudSSA.ps1 and the Onboard-CloudHybridSearch.ps1 ran successfully. When I start a full crawl in my on-premises search for the cloud site collections I get a-
'The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: Unknown exception Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- Operation is not valid due to the current state of the object. --., CorrelationID: 68eadf9d-1071-3000-d7e1-23863bc324e0; SearchID = 60F2782E-D3F2-420B-8BD7-EFD873837C02 )'
Here's what the ULS has to offer with Verbose logging turned on
SetSTSErrorInfo ErrorMessage = Error from SharePoint site: Unknown exception Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- Operation is not valid due to the current state of the object. --., CorrelationID: 68eadf9d-1071-3000-d7e1-23863bc324e0 hr = 80042616 [sts3util.cxx:7218] search\native\gather\protocols\sts3\sts3util.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint dvi3 High Couldn't retrieve server https://something.sharepoint.com policy, hr = 80042616 [sts3util.cxx:1917] search\native\gather\protocols\sts3\sts3util.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint dvu0 High STS3::StoreCachedError: Object initialization failed. Message: "Error from SharePoint site: Unknown exception Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- Operation is not valid due to the current state of the object. --., CorrelationID: 68eadf9d-1071-3000-d7e1-23863bc324e0" HR: 80042616 [sts3util.cxx:7313] search\native\gather\protocols\sts3\sts3util.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint dvg4 High Server something.sharepoint.com security initialization failed, hr = 80042616 error Message Error from SharePoint site: Unknown exception Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- Operation is not valid due to the current state of the object. --., CorrelationID: 68eadf9d-1071-3000-d7e1-23863bc324e0 [sts3util.cxx:1674] search\native\gather\protocols\sts3\sts3util.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint en0e High CSTS3Accessor::InitURLType: Return error to caller, hr=80042616 [sts3acc.cxx:2323] search\native\gather\protocols\sts3\sts3acc.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint dv3p High CSTS3Accessor::GetServer fails, Url https://something.sharepoint.com/sites/modernteamsite, CT , hr=80042616 [sts3acc.cxx:250] search\native\gather\protocols\sts3\sts3acc.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C0) 0x2DEC SharePoint Server Search Connectors:SharePoint dvb1 Medium CSTS3Handler::CreateAccessor fails, hr=80042616, Url https://something.sharepoint.com/sites/modernteamsite, CT [sts3handler.cxx:234] search\native\gather\protocols\sts3\sts3handler.cxx 60f2782e-d3f2-420b-8bd7-efd873837c02
03/20/2017 12:10:28.30 mssdmn.exe (0x32C
Has anyone seen something similar and can point me in the right direction?
Thanks in advance
If you can find your on-premises content in the SharePoint Online index, the crawl process is probably working just fine.
In order to get searches working in your on-premises search center, you need to setup a result source pointing to SharePoint Online:
https://technet.microsoft.com/en-us/library/mt668455(v=office.16).aspx
After you have created the result source, be sure to set it as the default in order to get your search queries being sent to SharePoint Online.
You also mention you have multiple search service applications - you don't need this to have hybrid search working, although there might be another reason you have multiple ones. In any case, make sure you have the right search service application (the hybrid one) connected to your web application through a service application proxy group. If you're not connected to the right search service application you of course won't get any results from SharePoint Online either.
Running the hybrid configuration wizard is not needed to get hybrid search working, but it won't hurt your setup either.
- Dean_GrossSilver ContributorHere is a tool that may help you troubleshoot. https://gallery.technet.microsoft.com/SRx-Core-SharePoint-Search-d60113e9
Thanks Dean, I'll take a look.
Hey Dean,
I ran the SharePoint Health Reports which came back with an alert stating I have two User Profile Service Application running.
It was worth a shot.