正确保存到列表后,Sharepoint 2013在线中止POST调用 [英] Sharepoint 2013 online aborting POST call AFTER it properly saves to the list

查看:64
本文介绍了正确保存到列表后,Sharepoint 2013在线中止POST调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个问题,使我发疯了约2天,现在我似乎无法解决...我正在尝试进行邮寄呼叫(在其他情况下效果很好我在其中链接了2个调用的共享点站点-第一个阻止了恐惧 403禁止问题,方法是获取FormDigestValue,然后将其传递给第二个$ .ajax调用,该调用将执行实际的发布.

I have been having an issue that has been driving me crazy for about 2 days now that I can't seem to resolve...I am trying to run a post call(which works perfectly fine on my other sharepoint site) in which I chain 2 calls---the first prevents the dreaded 403 forbidden issue by getting the FormDigestValue and then passes that into the second $.ajax call which does the actual post.

该帖子运行正常,数据进入列表并可以正常工作.问题有时在网络"标签中从待处理"状态变为已终止"状态,当我查看详细信息时,请求标头或正文中没有任何内容,并且 响应标头返回为201 Created.几次我都完成了所有的函数调用,这时我遇到了一条错误消息:

The post works fine, the data gets in the list and works.  The problem is at some point it goes from Pending to Aborted status in the Network tab, and when I go look at the details, there is nothing in the request header or body and the response header comes back as 201 Created.  A few times I have stepped through all the function calls at which point I end up with an error that says:

"Script7022:XMLHTTPREQUEST网络错误0x800c0007,没有数据可用于所请求的资源."

"Script7022: XMLHTTPREQUEST network error 0x800c0007, no data is available for the requested resource."

我不知道发生了什么,相同的帖子调用在其他共享点网站上也能正常工作

I have no idea what is going on, the same post call works perfectly fine on other sharepoint sites

推荐答案

已修复!

经过大量的挖掘和挖掘,我了解到这是IE特有的问题,其中邮寄呼叫被发送,然后由于某种原因在收到响应之前超时.为什么仅在此共享点网站上发生这种情况,而没有 其他的我使用相同的

After significant amounts of digging and digging, I learned this is an IE specific issue where the post call gets sent and then times out before receiving the response for some reason.  Why this is only happening on this sharepoint site and none of the other ones I use the same


.我对Ajax发布调用一无所知.
.Ajax post calls on I have no idea. 

解决方法是添加其他一些空白功能,例如完成功能,在发送之前,最重要的是,将超时设置为0,由于某种原因,该功能会使IE恢复正常,并且可以再次正常工作. ;我花了多少时间 在过去的几年中,仅调试IE错误.该浏览器需要快速,痛苦地死掉,它很容易成为最糟糕,故障最严重的浏览器,其巨大的知名度令人麻木.微软的信天翁.

The fix was to add in a few other blank functions like complete, before send and most importantly, set the timeout to 0, which for some reason smacks IE back to reality and it works properly again.  Amazing how much time I've spent over the past few years debugging IE only errors.  This browser needs to die a quick, painful death, it is easily the worst and most buggy browser out there and its immense popularity is mind numbing.  Microsoft's albatross. 


这篇关于正确保存到列表后,Sharepoint 2013在线中止POST调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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