Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I was trying to resolve "cache is not configured" issue on SP2010 production box and came across the solution being discussed in one of the SharePoint chick blog

The problem is before I try out the fix I would like to first verify whether the Portal Super User Account and Portal Super Reader Account already exits, using Power Shell command-lets?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Technet documentation concerning configuring the object cache user accounts: http://technet.microsoft.com/en-us/library/ff758656.aspx

Using the SharePoint 2010 Management Shell you can verify if the Super User and Super Reader accounts are already configured.

Firstly run the SharePoint 2010 Management Shell with Administrator rights. Secondly type in the following commands:

Get-SPWebApplication

The command Get-SPWebApplication shows you the webapplications you have (excluding the Central Admin Webapplication)

Secondly choose the webapplication you would like to verify the superuser account for and type the following commands replacing "x" with the correct information:

$wa = Get-SPWebApplication -Identity "<WebApplication>"
$wa.Properties["portalsuperuseraccount"]

The command $wa.Properties["portalsuperuseraccount"] will show you the Super User account that is configured for that webapplication.

Thirdly to verify the Super Reader account:

$wa.Properties["portalsuperreaderaccount"]

The command $wa.Properties["portalsuperreaderaccount"] will show you the Super Reader account configured for the webapplication.

share|improve this answer
1  
$wa.Properties["portalsuperuseraccount"] I tried it, no value came in response in the cmd prompt, does it mean its not set? –  bkk Aug 8 '12 at 7:55
    
@aDeveloper - If no value returns, it means it is not set. Do you still get the Windows Events in your Event viewer regarding the Super User and Super Reader accounts? –  TempaC Aug 8 '12 at 8:10
    
I have not yet implemented the fix as mentioned the blog I referred. I guess you are right I m not getting any value for the property because it was not set. Thanks for your help :) –  bkk Aug 8 '12 at 8:38
    
@aDeveloper - You're welcome. –  TempaC Aug 8 '12 at 8:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.