Domanda

Problem: I have a large intranet portal, in one of the sub site after opening a page in an Edit mode and then try to check it in from ribbon, I get traditional SP error screen with a co-relation id.

My Investigation: After getting details from the log file for relevant co-relation id following error message I get.

this may be because the checked out user is accessing the page, or it could be that sharepoint user account has item checked out

Types of check ins working fine:

  • Remaining on same window, if I refresh, then page opens up in non-edit mode. If I try to check in, then it works fine
  • From the pages library if I try to check in a page it works fine.
  • In other sub sites pages with same page layout have no problem.
È stato utile?

Soluzione

This kind of error typically occured when Object Cache not properly configured on the web app level. Please configure the Object cache(super user and super reader account), this required IIS reset so plan it accordingly.

  1. Add Users in the Policy of Web App.
  2. Now run the below Powershell:

    $wa = Get-SPWebApplication -Identity "<WebApplication>"
    
    $wa.Properties["portalsuperuseraccount"] = "<SuperUser>"
    
    $wa.Properties["portalsuperreaderaccount"] = "<SuperReader>"
    
    $wa.Update()
    
  3. IISreset on all server in farm.

Configure object cache user accounts in SharePoint Server 2013

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top