We have 3 web applications in our SharePoint 2013-intranet solution. Two of them works fine. On the third one "sometimes" users get Access denied. This includes farm admin users as well.

After following this tip, the problem is solved (enabling Anonymous auth, waiting, verifying and set it back). But a few hours/days the problem occurs again and its keeps happening.

Anyone have got this or have a clue were to look/compare with the other, working web applications?

有帮助吗?

解决方案

This is very much common error now days which occur when you ignore the Object Cache Settings. So Please Configure the Object Cache settings for that web App.

  • Create the Super User and Super Reader Account
  • Add Both account into Policy for web app, Super Reader as Full read and Super User as Full control
  • Now run the below power shell to add the user:

    $wa = Get-SPWebApplication -Identity ""

    $wa.Properties["portalsuperuseraccount"] = ""

    $wa.Properties["portalsuperreaderaccount"] = ""

    $wa.Update()

  • IIS reset on all server in the farm.

Note: when you add the user in the powershell,Dont Forget the Claims in start of account i.e.claim:domain\spreader.

Configure object cache user accounts in SharePoint Server 2013

许可以下: CC-BY-SA归因
scroll top