SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
I'm a farm admin
I'm a site collection admin
I'm a member of <site> Owners

Access denied logging in (Windows)

What else could it be?

FYI, in system.web

<authentication mode="Windows" />
<identity impersonate="true" />

SP App Pool is running under a specific windows account

share|improve this question
Are you trying to access this from the server console or another computer? – David Lozzi Jan 19 '12 at 17:04
im RDC-ed to my VM – BobTodd Jan 19 '12 at 17:27
Yes still I face the issue Im getting Access denied error for site collection admin. – user10429 Aug 30 '12 at 13:00
up vote 1 down vote accepted

This post worked for me

i can now access the site.

(un?)interestingly enuf tho, this post is still an issue: Sign in as a different user access denied

share|improve this answer
I wonder what is the difference between Step 1 and Step 2, They seem to me identical commands. The same command should be entered twice? – Gennady Vanin Геннадий Ванин Jun 4 '12 at 8:52

You said "im RDC-ed to my VM" so you're accessing the site using IE running on the server (VM) itself right?

I am assuming you're using "Integrated Authentication" (where it's supposed to pick up the windows login) and you're getting 3 prompts for credentials before 401 access denied - in that case its most probably the local loopback check.

DisableLoopbackCheck & SharePoint: What every admin and developer should know.

share|improve this answer
Access is denied, not logon failed... – BobTodd Jan 20 '12 at 9:15

The first thought that comes to mind is that you haven't set the portalsuperuseraccount and portalsuperreaderaccount.

From powershell:

$webApp = Get-SPWebApplication -Identity http://webappUrl

If they are empty, check out Configure object cache user accounts

share|improve this answer
these values are present (but not the user i am trying to login as, its an admin account) – BobTodd Jan 19 '12 at 17:30

Is this a SharePoint access denied error?

You might want to try using Process Monitor to check whether there are any NTFS file permission issues. I normally run it while the issue occurs, then search for the word "denied".

Other things you can check:

  • ULS log (ULSViewer will help) - this is probably your best bet

  • Event viewer

Let us know if you are still stuck.

share|improve this answer

Your Answer


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.