Showing posts with label SharePoint 2013. Show all posts
Showing posts with label SharePoint 2013. Show all posts

Wednesday, 26 November 2014

SharePoint 2010 does not show search results when consuming SharePoint 2013 Search Service Application

Symptoms
 
When we performing a search from a SharePoint 2010 farm which is consuming a SharePoint 2013 search service application, all users receive the error as follows

"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator"
 
if we take look into ULS log we may find below error in ULS
 
"w3wp.exe (0x02D4) 0x1788 SharePoint Server Search Query dn0c High CoreResultsDatasourceView: Could not find location with internal name LocalSearchIndex"
 
Cause
The locationconfigurations property in the search service application proxy could be blank in the SharePoint 2013.
 
 
 

Resolution
we need to check if  locationconfigurations property is null. And to do that we need to take help from PowerShell. We can use below script for the same.
 
$Url = "http://siteurl"
$site = Get-SPSite $Url
$serviceContext = [Microsoft.SharePoint.SPServiceContext]::GetContext($site)
$searchProxy = [Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy]::GetProxy($serviceContext)
$searchProxy.LocationConfigurations

If this returns blank or null , we can repopulate that using PowerShell as below

$ssa = Get-SPEnterpriseSearchServiceApplication "Search Service Application"

$ssa.Status = "Disabled"

$ssa.Update()

$ssa.Provision() 


this will actually recreate the Out Of the box location configurations again in the SSA Admin DB.

We can confirm that again running first script and once it got confirmed , users will able to get the search results in SharePoint 2010

 
 
 

 

 

 

Monday, 21 July 2014

SharePoint 2013: Access Denied


SharePoint 2013: Access Denied

Symptoms
All users including admins with full control policy get Access Denied.
 
they get the standard SharePoint access denied page that says:
“Sorry, you don’t have access to this page”

Cause
In the Local Security Policy | Local Policies | User Rights Assignment, “Bypass traverse checking” doesn't have IIS_IUSR added.

Resolution
1. Add a group that contains IUSR  or IIS_IUSR to “Bypass traverse checking” in the Local Security Policy. 
2. Gpudate /force
3. IISReset

Unable to open SharePoint 2013 site into SharePoint DESIGNER 2013


Issue
=====
While trying to open a SharePoint 2013 site using Microsoft SharePoint Designer 2013,
we get the below error message "The Server could not complete your request"

Cause
=====
Anonymous Authentication is disabled on the web application
 
Resolution
=========
Enable Anonymous authentication for the site from SharePoint.
We should enable it from SharePoint End rather than IIS web site