SharePoint 2013托管应用程序:站点不断刷新/重新加载 [英] SharePoint 2013 Hosted applications: site continuously refreshing / reloading

查看:103
本文介绍了SharePoint 2013托管应用程序:站点不断刷新/重新加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在托管应用程序上遇到问题:网站不断刷新/重新加载


错误:


来自原产地'http://sitecollection.domain.com'的'https://apps.domain.com/web-services/GetListData.svc/ReadListData'访问XMLHttpRequest已被CORS阻止策略:对预检请求的响应未通过访问控制检查:请求的资源上没有'Access-Control-Allow-Origin'
标头。


请建议..

解决方案

嗨Gayam,


我认为以下链接可以帮助您理解:  没有'访问权限-Control-Allow-Origin'标题




  • 如何使用CORS代理来绕过  "No Access-Control-Allow-Origin标题" 问题

  • 如何避免CORS预检

  • 如何修复  "Access-Control-Allow-Origin标头不能是通配符" 问题

祝你好运。


Hi,

I am facing issue on Hosted applications: site continuously refreshing / reloading

error:

Access to XMLHttpRequest at 'https://apps.domain.com/web-services/GetListData.svc/ReadListData' from origin 'http://sitecollection.domain.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Please advice..

解决方案

Hi Gayam,

I think the following link can help you to understand : No 'Access-Control-Allow-Origin' header

  • How to use a CORS proxy to get around "No Access-Control-Allow-Origin header" problems
  • How to avoid the CORS preflight
  • How to fix "Access-Control-Allow-Origin header must not be the wildcard" problems

Good luck.


这篇关于SharePoint 2013托管应用程序:站点不断刷新/重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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