简体   繁体   中英

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

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!

尝试以管理员身份运行VS,方法是右键单击Visual Studio图标,然后单击“以管理员身份运行”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM