Skip navigation

Q: Why do I get the error "Required permissions can't be acquired" when trying to connect to my IIS site or SharePoint site?

A. After I rebooted a server, my SharePoint server no longer worked, and when I went to the server, I just got a generic error.

The first step was to turn off custom errors, so I could see the actual problem. I opened the web.config file in Notepad. It’s found in the root of your virtual directory for the website. For example, if its Windows SharePoint Services (WSS), the file location would be "C:\inetpub\wwwroot\wss\VirtualDirectories\80" by default.

Search for customErrors and change to the following:


 

Navigate to your webpage again, and you should get a more detailed error (see screen shot below):

iiswsserrorreqpermissions
iiswsserrorreqpermissions-Copy

 

The solution is to change the security policy to full. Typically you would add the following to the web.config file:


    


If this is a SharePoint installation, there will already be a securityPolicy section:

 
   
   


Add the full policy to the start, so it looks like this:

 
    
   
   


Now change the "


WSS should now work fine again. Another item to check if this doesn’t work is the application pool settings, which are available via the Internet Information Services (IIS) Manager. Select your server, and select Application Pools. Select your SharePoint - 80 application pool, and select Advanced Settings. Make sure under Process Model that Identity is set to NetworkService, and Load User Profile is set to False (see the screen shot below):

iisapppoolpropwss
iisapppoolpropwss-Copy
TAGS: Security
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish