Visual Studio 2017? [英] Visual Studio 2017?

查看:85
本文介绍了Visual Studio 2017?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在尝试使用Visual Studio 2017为Sharepoint 2013设置开发环境。 我已经设置了两个hyper-v虚拟机 - 一个用于AD,另一个用于Sharepoint 2013和SQL 2012。


任何人都可以使用它吗? 我在sharepoint服务器上安装了VS 2017。 我尝试了各种组合,但我无法让它部署一个基本的Sharepoint加载项。 我使用农场管理员帐户登录服务器,该帐户在本地管理员组中也是
。我收到有关需要管理员权限的错误,但是如果我以管理员身份打开VS,那么它会给我一个关于我的系统用户帐户必须具有管理员权限的错误,或者有关系统帐户无法执行此操作的错误。


感谢任何人对此的帮助!!


谢谢,


Chris

解决方案

您好


确认用户帐户有足够的DB权限。





尝试将帐户设置为网站集管理员。





如果您需要开发加载项解决方案,则需要先配置加载项环境。


以下链接供您参考。


https://blogs.msdn.microsoft.com/how24/2013/06/14/prepare-your-sharepoint-2013-farm-for-app-development-and-debugging/


https ://blogs.technet.microsoft.com/wbaer/2012/10/10/setting-up-a-sharepoint-2013-development-environment-101/


最好的问候,



Hi All,

I'm trying to set up a dev environment for Sharepoint 2013 using Visual Studio 2017.  I've set up two hyper-v virtual machines - one for AD and another with Sharepoint 2013 and SQL 2012.

Anyone able to get this to work?  I installed VS 2017 on the sharepoint server.  I've tried all kinds of combinations but I can't get it to let me deploy a basic Sharepoint Add-in.  I log into the server with a farm admin account that's also in the local administrators group. I get errors about needing admin rights but if I open VS as administrator then it gives me an error about how my system user account must have admin privileges or one about the system account cannot perform this action.

Appreciate anyone's help on this!!

Thanks,

Chris

解决方案

Hi,

Confirm the user account has enough permission for DB.


Try to set the account as site collection administrator.


If you need develop add-in solution, you need configure add-in environment first.

Here are links for your reference.

https://blogs.msdn.microsoft.com/how24/2013/06/14/prepare-your-sharepoint-2013-farm-for-app-development-and-debugging/

https://blogs.technet.microsoft.com/wbaer/2012/10/10/setting-up-a-sharepoint-2013-development-environment-101/

Best Regards,

Lee


这篇关于Visual Studio 2017?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆