locked
blobcache error

    Question

  • Hi,

    Need help on Blobcache exception. Trying to enable it for intranet site, but images are not coming up. Eventviewer has a warning logged 

       Microsoft.SharePoint.Library.SPRequestInternalClass.GetAllAclsForCurrentSite(String bstrWebUrl, Int32 lMaxAcls) +0
       Microsoft.SharePoint.Library.SPRequest.GetAllAclsForCurrentSite(String bstrWebUrl, Int32 lMaxAcls) +210

    Other Details:

    - NT Authenticated site on single WFE

    - Page uses images from PublishingImages/, /Style LIbrary/en-us/images

    - App Pool account part of IIS_WPG group, having write permissions to physical path.

    - Blobcache enabled in web.config and in physical folder, you could see the images getting cached

    - Sharepoint system pages  (site settings pages) are coming up properly

    - No other site caching settings changed.  Flushed out the cache and did iisreset, but not of help.

    - When typing the image url directly, following error is obtained

     

    [COMException (0x80004005): Cannot complete this action.

    Please try again.]
       Microsoft.SharePoint.Library.SPRequestInternalClass.GetAllAclsForCurrentSite(String bstrWebUrl, Int32 lMaxAcls) +0
       Microsoft.SharePoint.Library.SPRequest.GetAllAclsForCurrentSite(String bstrWebUrl, Int32 lMaxAcls) +210

    [SPException: Cannot complete this action.

    Please try again.]
       Microsoft.SharePoint.Library.SPRequest.GetAllAclsForCurrentSite(String bstrWebUrl, Int32 lMaxAcls) +379
       Microsoft.SharePoint.SPReusableAcl.GetAllReusableAclsForSite(SPSite site, Int32 maxAclsToReturn) +1185
       Microsoft.SharePoint.SPSite.GetAllReusableAcls() +46
       Microsoft.SharePoint.Publishing.<>c__DisplayClass3.<EnsureAuthenticatedRights>b__0() +185
       Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state) +73
       Microsoft.SharePoint.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2() +599
       Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) +309
       Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) +583
       Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) +146
       Microsoft.SharePoint.Publishing.BlobCache.EnsureAuthenticatedRights(Guid siteID) +593
       Microsoft.SharePoint.Publishing.BlobCache.RewriteUrl(Object sender, EventArgs e) +3745
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177

    Thanks , Sudhakar

     

     

    Monday, November 03, 2008 6:49 PM

Answers

  • Got input from MS escalation engineer, that this is due to product bug. Whenever you have more than 10K+ items with custom permission, the GetAllAclsForCurrentSite fails. Looks like they've hardcoded a limit in the program. Great!
    • Marked as answer by sraju Monday, February 02, 2009 2:25 PM
    Monday, February 02, 2009 2:25 PM

All replies

  • Hi,

     

    Based on my research, I suggest the hotfix described in the following KB article:

     

    (KB953138) Description of the SharePoint Server 2007 post-2007 Microsoft Office servers Service Pack 1 hotfix package: May 29, 2008

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;953138

     

    Please give it a try and let us know the result if possible. Thanks!

     

    Best Regards,

    Lionel

    Wednesday, November 05, 2008 4:00 AM
  • Lionel - The env already has 6318 version which I beleive has the hotfix you've mentioned.
    We attached a content DB from different server to the site collection. Is this anyway impacting the cache

    • Edited by sraju Wednesday, November 05, 2008 4:52 AM
    Wednesday, November 05, 2008 4:50 AM
  • Got input from MS escalation engineer, that this is due to product bug. Whenever you have more than 10K+ items with custom permission, the GetAllAclsForCurrentSite fails. Looks like they've hardcoded a limit in the program. Great!
    • Marked as answer by sraju Monday, February 02, 2009 2:25 PM
    Monday, February 02, 2009 2:25 PM