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

Monday, 21 July 2014

Unable to get search results for all users except service account


Symptom

Only Service accounts able to get the search results in SharePoint 2010

Resolution

1. Add Services account and search account into the Pre-Windows 2000 Compatible Access group.

2. Run below Power shell to update configuration
$searchapp = get-spenterprisesearchserviceapplication
$searchapp.SetProperty("ForceClaimACLs",1)

Monday, 7 July 2014

SharePoint 2010 - Unable to set audience using Internet Explorer 9 in global navigation

Issue
======
Unable to set the audiences on the Global Navigation when using Internet Explorer 9 give an unexpected error has occurred.

When we try to set audiences on Global navigation (http://kyz.com/_layouts/AreaNavigationSettings.aspx ) for links it give us error as follows

 
 
Checked into ULS logs we are getting below error
======================================

System.InvalidOperationException: Namespace prefix 'xsd' is not defined.  
 at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName) 
 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read1_Object(Boolean isNullable, Boolean checkType)   
 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read2_DictionaryEntry(Boolean checkType)   
 at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderDictionaryEntryArray.Read3_ArrayOfDictionaryEntry()
 
 
Solution
=======
This Issue has been fixed in April CU 2014 for SharePoint 2010.
 
Please make sure that you apply patch in Test or Dev enviroment to make sure it's no breaking anything else.
 
 
 



Saturday, 5 July 2014

SharePoint 2010 - Audience Compilation status stuck on Compiling

Issue 
=======
Some times we found that "Audience Compilation Status" stuck on compiling" and doesn't change back to Idle or doesn't show up as Error. Also when we try to start compilation for other audience which is shows idle , nothing happens on that too.  

under timerjobs status , we also found that User Profile Service Application - Audience Compilation Job is succedded

Cause

======
Possible cause could be hung of Audiencejob. 

Solution 

========
  1. Navigate to the SharePoint Management Shell and open it with administrator right.
  2. Run the command Get-spserviceapplication, which returns all service applications with ids.
  3. Copy user profile service application in which we are facing audience compilation issue. 
 To Stop hung compilation Job, use below power shell command
  • Audiencejob.exe  "userprofileserviceapplicationID"  0
it will force to stop the compilation of audience which is stuck on compiling.

To start the audience compiliation job we can use same powershell with value 1, it will look like as below
  • Audiencejob.exe  "userprofileserviceapplicationID"  1
  • Value o in powershell will stop the job and value 1 will start the job.
I would personally recommend to make changes to schedule to check job is getting trigger on the schedule so that it will confirm that there is no issue of timer jobs.






Disclaimer: This posting is provided "AS-IS" with no warranties, and confers no rights. Use this information at your own risk,