Windows – To interact with SharePoint projects in Visual Studio, your system user account must have administrator privileges

privilegessharepointwindows

When deploying a SharePoint visual web part project, I encountered some privilege issues.

  1. If I run VS2012 with a domain account which has full control to SharePoint site. The following error message occurred:
    To interact with SharePoint projects in Visual Studio, your system user account must have administrator privileges
  2. Then I try to run VS2012 with Administrator, another error message occurred.
    Error Error occurred in deployment step 'Retract Solution': A timeout has occurred while invoking commands in SharePoint host process.
  3. I try to add the original domain account to local Administrator group and WWS_ADMIN_WPG, and try to run VS2012 with it, the same message in 1 occurred.

I want to give my domain account all Administration privileges which are needed to interactive with SP project. But it seems that local Administrator group and WWS_ADMIN_WPG still don't have enough permission to do this.

How can I solve these issues? Thanks in advance!

Best Answer

Try running VS as admin, by right clicking on Visual studio icon, then clicking "Run as administrator"

Related Topic