Skip Ribbon Commands
Skip to main content
SharePoint

James Milne

Apr 16
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

 

Symptoms

The Account you are logged in as has local admin rights on the SharePoint Server as well as the appropriate access rights on the SQL Server.

 

However, When you issue the following command you receive an "Access is denied" error message:

    Stsadm dm -o enumsubwebs -url http://YourServer.com/YourSite/

 

Cause

The cause of this access denied message is not related to Windows Admin rights or SQL Administration Rights. The cause

Solution

 

Option 1

Add the account you are running the command as to the Site Collection Administrators group.

 

Option 2

Create a "User Policy" to grant Full Control to your account.

 

Comments

There are no comments for this post.