Each time the crawling on MySite site collection would generate numerous errors in event log as below
Error
System.UnauthorizedAccessException: Access denied.
at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex)
at Microsoft.SharePoint.Library.SPRequest.CheckOutFile(String bstrUrl, String bstrWebRelativeUrl, Boolean bCheckoutToLocal,
String bstrLastModified)
at Microsoft.SharePoint.SPFile.CheckOut(Boolean bCheckoutToLocal, String lastModifiedDate)
at Microsoft.SharePoint.SPFile.CheckOut()
at ABC.Intranet.Web.UI.WebControls.MySiteModifier.b__0()Additional Information:
HttpContext User - abc\Crawl_Acct |
SPWeb User - abc\ Crawl_Acct |
The crawling account has READ permission over My Site collection and this account does have NO access to the specific URL in error below –
http://xyz.abc.com/personal/user/Personal%20Documents/Forms/AllItems.aspx
Resolution
This issue is resolved after adding Content Access Account under Central Administration > SSP > User Profiles and properties > Personalization services permissions
with "Manage user profiles" permission