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

John Savill

December 8, 2011

2 Min Read
ITPro Today logo in a gray background | ITPro Today

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:inetpubwwwrootwssVirtualDirectories80" 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-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-Copy

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like