17 Jun 2010

Error occurred in deployment step ‘Recycle IIS Application Pool’

Posted by Alexander

Currently i’m working on a development machine for SharePoint 2010. Even the development machine is setup with multiple accounts as security describes. Therefore sometimes you run into strange (security) error messages. The following error message occured when i tried to deploy a SharePoint project from Visual Studio 2010.

Error occurred in deployment step ‘Recycle IIS Application Pool’: <nativehr>0×80070005</nativehr><nativestack></nativestack>Access denied

It seems that the account under which your Visual Studio 2010 is running needs to have sufficient rights on the web application to which you are deploying your solution. In my case this was easily fixed by putting my domain account in the site collection administrators list for that specific web application.

Subscribe to Comments

One Response to “Error occurred in deployment step ‘Recycle IIS Application Pool’”

  1. Thanks! Had the exact problem :)

     

    Mark

Leave a Reply

Message: