Skip to content

Event 7362 – Web Content Management

May 23, 2011

Problem:

Log Name:      Application
Source:        Microsoft-SharePoint Products-Web Content Management
Date:          <date>
Event ID:      7362
Task Category: Publishing Cache
Level:         Warning
Keywords:      
User:          <username>
Computer:      <server>
Description:
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.
 To configure the account use the following command 'stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl'. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.
 Additional Data:
 Current default super user account: SHAREPOINT\system

Solution

Step 1 – Create AD Domain Accounts

Create domain accounts for the ‘portalsuperuseraccount’ and ‘portalsuperreaderaccount’. I use sp.superuser and sp.superreader but the naming is up to you.

Step 2- Assign Account Permissions

Run SharePoint Management Shell and execute the following commands:

$wcm = Get-SPWebApplication -Identity http://<url of web application>
$wcm.Properties["portalsuperuseraccount"] = “<domain>\sp.superuser”
$wcm.Properties["portalsuperreaderaccount"] = “<domain>\sp.superreader”
$wcm.Update()

Step 3- Modify the Web Application User Policy

Central Admin -> Manage Web Application -> User Policy
Add sp.superuser – Full Control
Add sp.superreader – Full Read

Reboot your SharePoint farm

You will need to reboot your SharePoint servers for the changes to take effect.

Note* You have to run the above commands on each Web Application if you have more than one.

Testing

SharePoint Management Shell, type the following command

stsadm -o getproperty -propertyname portalsuperuseraccount -url <url of web application>

The output should be something like this.

<PropertyExist=”Yes” Value=”<domain>\sp.superuser” />

About these ads
4 Comments
  1. Tammy G permalink

    When resolving the issue on multiple web apps, can I use the same accounts (i.e. sp.superuser and sp.superreader) for each web app? Thanks!

  2. Ricardo Flores permalink

    i created this PowerShell command that adds the users and updates the properties to all web application (Except Central admin and My sites)

    $farm = [Microsoft.SharePoint.Administration.SPFarm]::Local
    $websvcs = $farm.Services | where -FilterScript {$_.GetType() -eq [Microsoft.SharePoint.Administration.SPWebService]}
    $webapps = @()
    $sitecollections = “”;
    $weburl = “”;
    $webappname = “”;
    foreach ($websvc in $websvcs) {
    foreach ($webapp in $websvc.WebApplications) {
    if(!$webapp.Prefixes.Contains(“personal”)){

    $SuperUser = “ffres\spsuperuser”
    $Superpolicy = $webapp.Policies.Add($SuperUser,”spsuperuser”)
    $Superpolicy.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullControl”))

    $SuperReader = “ffres\spsuperreader”
    $Readerpolicy = $webapp.Policies.Add($SuperReader,”spsuperreader”)
    $Readerpolicy.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullRead”))

    $webapp.Properties["portalsuperuseraccount"] = “ffres\spsuperuser”
    $webapp.Properties["portalsuperreaderaccount"] = “ffres\spsuperreader”

    $webapp.Update()
    Write-Host “$($webapp.name) – Done baby”

    }
    }
    }

Trackbacks & Pingbacks

  1. SharePoint 2010 and TFS 2010 Integration Checklist | headcrash industries | blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: