SharePoint站点无法在Internet Explorer 8/11和Edge中打开。 VS 2015将无法连接到sharepoint,并且无法将加载项部署到sharepoint。 [英] SharePoint site will not open in Internet Explorer 8/11 and Edge. VS 2015 will not connect to the sharepoint and Add-in cannot be deployed to sharepoint.

查看:135
本文介绍了SharePoint站点无法在Internet Explorer 8/11和Edge中打开。 VS 2015将无法连接到sharepoint,并且无法将加载项部署到sharepoint。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS 2015开发SharePoint加载项.VS使用IE连接到我要部署加载项的sharepoint站点。它会启动登录屏幕,但是当凭据到位并点击"登录"时,它什么都不做。弹出的价格为
白色,但仍保留在屏幕上。几分钟后,VS将弹出一个错误,指出连接到sharepoint站点时出现问题。或者当我强制关闭提示时,VS将提示进入离线模式并且加载项未在线部署。


这首先发生在我的Windows 10 1511 / IE 11 / Edge上系统。我更新了周年更新,删除了周年更新,禁用了Internet Explorer,再次启用它,将我的网站放在兼容性列表中,删除所有cookie,重置我的IE,重启
数百次。然后我决定回到Windows的旧版本,所以我安装了Windows 7并使用了IE 8.安装完成后,IE 8工作了3天,然后在第4天重新出现问题。所以我安装了IE 11 Update,但问题仍未解决。


我总是可以使用其他浏览器,并在线打开SharePoint。在IE(8/11 / Edge)中,我可以登录portal.microsoft.com但是当我转到主admni并单击sharepoint时,它也不会显示网页。在IE 8.0中,我注意到一个咔嗒声,并且我发现了
状态,它继续"找到网站",但未找到。当我仔细查看URL时,表示request-id = {long random auth code}的结尾部分总是每0.5秒更改为4-6个不同的值。看起来重定向不起作用
并且URL请求未成功发送。我搜索了IE的任何OAuth 2问题,看起来可能会出现一些重定向问题。我还在互联网上搜索了与SharePoint的任何兼容性问题,并发现了一些建议
将网站置于兼容模式的artciles,因为sharepoint也有一些兼容性问题。我这样做是没有解决的。


我为Office 365开了2个技术支持案例,11月份开了一个,最近又开了一个,11月案件已经关闭,因为技术人员说这个问题是本地的到我的电脑。我有2个系统,Windows 10和Windows 7,在这两台计算机中,IE不会在线使用SharePoint
。重新安装操作系统后,它可以工作几天,然后再次发生。我重新打开了这个案子,因为我的E3试用版已经过期,当我注册另一个E3试用版时,问题再次发生,我不想再次重新安装Windows
,因为我之前已经做过它没有解决问题。


我的E3试用版和Office 365开发者帐户都发生了同样的问题。一个技术人员建议我卸载我部署的所有加载项,所以我做了但是当我尝试使用IE时,它仍然无法正常工作。这已经停止了我的加载项开发,因为我的VS可以不再使用
来在线调试和部署。


任何建议都将不胜感激。

解决方案


请尝试按以下步骤操作:


1 。请检查SharePoint Online的浏览器支持。



4。尝试使用Visual Studio 2013连接SharePoint Online。


最好的问候,


Dennis




I am developing a SharePoint Add-in using VS 2015. VS uses IE to connect to the sharepoint site where I want to deploy the Add-in. It pulls up a log on screen but when the credentials are in place and the 'Sign In' clicked, it does nothing. The pop up goes white but stays on the screen. After several minutes, VS will then pop up an error that there was a problem connecting to the sharepoint site. Or when I force close the prompt, VS will prompt to go on offline mode and the Add-in is not deployed online.

This happens first on my Windows 10 1511/IE 11/Edge system. I updated to the anniversary update, removed the anniversary update, disabled internet explorer, enabled it again, put my site in compatibility list, deleted all cookies, reset my IE, restarted hundreds of times. I then decided to go back to an older version of Windows so I installed Windows 7 and used IE 8. After install, IE 8 works for 3 days then on the 4th day the problem resurfaced. So I installed IE 11 Update and the issue has not been resolved.

I can always use another browser and SharePoint online opens. In IE (8/11/Edge), I can logon to portal.microsoft.com but when I go to the main admni and click on sharepoint, it will not display the webpage too. In IE 8.0 I notice a clicking sound and as I observed the status, it goes on "Website found", and not found. When I look closely on the URL, the end part that says request-id={long random auth code} always changes to 4-6 different values every .5s. It looks like the redirect is not working and the URL request is not sent successfully. I searched for any OAuth 2 issues with IE and looks like there maybe some redirect issues going on. I also searched in the internet for any compatibility issues with SharePoint and found some artciles that recommends putting the site to compatibility mode since sharepoint has some compatibility problems as well. I did this to no resolution.

I opened 2 tech support case for Office 365, One in November and another one recently, The November case was closed since the tech said that the problem is local to my computer. I have 2 systems, Windows 10 and Windows 7 and in both computers, IE does not work with SharePoint online. After reinstalling OS it works for a few days and happens again. I re-opened the case since my E3 trial has already expired and when I signed up for another E3 trial, the issue happened again and I do not want to re-install Windows again, as I already did it before and it did not resolved the issue.

This same issue is happening both on my E3 trial and my Office 365 developer account. One tech advised me to uninstall all the Add-ins I deployed so I did but when I try using IE, it would still not work. This has stopped my Add-in development as my VS can no longer be used to debug and deploy online.

Any advice will be greatly appreciated.

解决方案

Hi,

Please try to do as follows:

1. Please check the browser support for SharePoint Online.

https://products.office.com/en-SG/office-system-requirements?CorrelationId=59b9ea4e-cb8b-47ba-b2b3-a3a190381a66&ui=en-US&rs=en-US&ad=US#Browsers-section

2. Try to update the latest updated for visual studio 2015.

3. Edit the csproj.user file in your add-in solution folder using notepad and remove the SharePoint Site Url.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <SharePointSiteUrl>**Your URL here**</SharePointSiteUrl>
  </PropertyGroup>
</Project>

Then reopen your solution and publish the app(Package the app).

Then install the app with PowerShell.

http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/02/28/installing-sharepoint-2013-apps-with-powershell.aspx

4. Try to use Visual Studio 2013 to connect SharePoint Online.

Best Regards,

Dennis


这篇关于SharePoint站点无法在Internet Explorer 8/11和Edge中打开。 VS 2015将无法连接到sharepoint,并且无法将加载项部署到sharepoint。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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