无法在Visual Studio 2015中完成连接到SharePoint

编程入门 行业动态 更新时间:2024-10-25 06:33:49
本文介绍了无法在Visual Studio 2015中完成连接到SharePoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个SharePoint应用程序,我一直在部署到我的SP Online租户。当我打开VS模式打开时,它提示我输入我的凭据以正常连接到SharePoint。然而,在我输入之后,模态中的所有内容都消失了,但是这个框不会被忽略。当我关闭该框时,它将无法完成连接到SharePoint。构建项目还会提示产生相同内容的信用。

我也试过创建一个新项目,当我通过它输入我的SP在线信息时也会发生同样的事情。重新启动VS或我的计算机没有帮助,卸载和重新安装VS

解决方案

请尝试将Visual Studio重置为系统默认值(请单击工具 - >导入和导出设置 - >重置所有设置)并修复Visual Studio安装。

请打开管理CMD窗口并导航到C:\Program Files(x86)\ Microsoft Visual Studio 14.0\Common7 \IDE并运行以下命令:

devenv / safemode

阻止Visual Studio启动时加载所有第三方VSPackage,从而确保稳定执行。 如果有效,则此问题应由扩展程序引起,您需要删除工具扩展程序和更新下的已安装扩展程序。

如果它没有在安全模式下工作,请尝试删除或重命名以下文件夹:

  • C:\ Users \<您的用户名称> \\ \\ APPData \本地\微软\ VisualStudio \\\ 2014.0
  • C:\ Users \<您的用户名称> \ AppData \Roaming\Microsoft \ VisualStudio \14.0

同时,以管理员身份运行visual studio,禁用计算机上的任何Anti-Virus或Anti-Spyware软件并清除%temp%文件夹。

祝你好运,

Joyce

I have a SharePoint app that I have been deploying to my SP Online tenant. When I opened VS a modal opened it prompted me for my credentials to connect to SharePoint like normal. However after I entered them, all of the content in the modal disappeared but the box will not dismiss. It will not finish connecting to SharePoint when I close the box. Building the project also prompts for creds which result in the same thing.

I have also tried creating a new project and the same thing happens when I enter my SP online info through that. Restarting VS or my computer didn't help, neither did uninstalling and reinstalling VS

解决方案

Hi,

Please attempt to reset Visual Studio to System Defaults (Please click Tools->Import and Export Settings->Reset All Settings) and repair your Visual Studio Installation.

Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run these commands:

devenv /safemode

It prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution. if it works, this issue should be caused by the extensions and you need to remove the installed extensions under Tools—Extensions and Updates.

If it doesn’t work in safe mode, please have a try with delete or rename the following folders:

  • C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\14.0
  • C:\Users\<your users name>\AppData\Roaming\Microsoft\VisualStudio\14.0

Meanwhile, run visual studio as administrator, disable any Anti-Virus or Anti-Spyware software on your computer and clean %temp% folder.

Best regards,

Joyce

更多推荐

无法在Visual Studio 2015中完成连接到SharePoint

本文发布于:2023-11-03 14:45:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1555397.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:连接到   Studio   Visual   SharePoint

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!