Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, September 27, 2012 2:23 AM | 1 vote
Error 1 Error occurred in deployment step 'Recycle IIS Application Pool': <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.
All replies (7)
Thursday, September 27, 2012 5:28 AM ✅Answered
Hi,
This error says that your account is having insufficient permission to deploy solution in sharepoint. Try below suggestion:
1. Give full control permission for your local account at web application level, where you have created your site collection.
2. Run your VS as run as administrator (right click on VS icon-->click run as administrator)
Check this similar thread for more info:
Hope it could help
Cheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
Thursday, September 27, 2012 8:54 AM ✅Answered | 4 votes
You need to make sure that windows logged in account (or run as visual studio if applicable) has the following permissions on your development box
•User must be in the Local Administrators group
•User must be in the WSS_ADMIN_WPG group
•User must be SharePoint Farm administrator
•User must be db_owner of the corresponding content database
•User must be Site Collection administrator of the Site Collection Where Custom Solution will be deployed to
Thursday, September 27, 2012 3:13 AM
What method are you using to deploy (a .wsp solution, I am assuming)?
Jason Warren
Infrastructure Architect
Thursday, September 27, 2012 3:58 AM
Check the account you are using to run the Powershell command. Try using an Admin account to see if it works first and then try your usual account.
I'm assuming you are using Add-SPSolution and Install-SPSolution??
Regards,
Yoshi
Thursday, September 27, 2012 4:48 AM
Hi, JASON
Ya your rite, i am using .WSP solution
Thursday, September 27, 2012 4:56 AM
Hi, YOSHIMITSU
I created SharePoint empty project, and deploying as FARM SOLUTION.
And add new item i.e wbepart item.
After that when i build, it is successful,
When i click on deploy it is showing the error:
Error 1 Error occurred in deployment step 'Recycle IIS Application Pool': <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.
How to fix it?
suggest me
Thursday, September 27, 2012 10:45 AM
I encountered this error when I was developing an application for one of the site collection. I gave site collection URL while selecting farm solution that I was creating.
Suddenly when deploying the application through Visual Studio 2010 I encountered this error and then I came to know that this error came in because a user under which I opened the Visual Studio did not have site collection administrative permission or at least site full access.
Once I gave permission, I was able to deploy it successfully. Silly!! but sometimes it is helpful tip. Isn't it?