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:
Site Collection URL - http://xyz.abc.com/personal/user |
Web Site URL - http://xyz.abc.com/personal/user |
HttpRequest URL - http://xyz.abc.com/personal/user/Personal Documents/Forms/AllItems.aspx |
HttpContext User - abc\Crawl_Acct |
SPWeb User - abc\ Crawl_Acct |
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.
Site Collection URL - http://xyz.abc.com/personal/user |
Web Site URL - http://xyz.abc.com/personal/user |
HttpRequest URL - http://xyz.abc.com/personal/user/Personal Documents/Forms/AllItems.aspx |
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 –
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
with "Manage user profiles" permission
No comments:
Post a Comment