owssvr.dll无法重定向到"NextUsing"目录.页 [英] owssvr.dll fails to redirect to "NextUsing" page

查看:99
本文介绍了owssvr.dll无法重定向到"NextUsing"目录.页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从SharePoint 2013服务器场上的列表中删除项目时,出现无法完成此操作".错误信息.该项目实际上已被删除,但无论如何都会出现错误.由于owssvr.dll,似乎错误消息可能会被忽略. 如果由于某种原因无法完成该操作,则已将该错误消息设置为默认响应.以我为例,删除成功,但是重定向到目标页面失败.我的调查结果如下:

When I try to delete an item from a list on my SharePoint 2013 farm, I get a "Cannot complete this action." error message. The item is actually deleted but the error follows anyway. It looks like the error message may be ignored because owssvr.dll has been wired to make this error message the default response if for any reason, it fails to complete its actions. In my case, the deletion was successful but the redirection to the target page after failed. My investigation yielded the following:

1.该项目将通过对owssvr.dll的RPC调用删除.正在使用的URL看起来像这样:http://< serverfqdn>/_vti_bin/owssvr.dll?CS = 65001& Cmd = Delete& List = {< listGUID>}& ID =< itemId>& NextUsing =< urlEncodedStringToListAllItemsView>& ContentTypeId =< contentTypeId>

1. The item is being deleted through an RPC call to owssvr.dll. The URL being used looks like this: http://<serverfqdn>/_vti_bin/owssvr.dll?CS=65001&Cmd=Delete&List={<listGUID>}&ID=<itemId>&NextUsing=<urlEncodedStringToListAllItemsView>&ContentTypeId=<contentTypeId>

2.该调用成功删除了该项目,但未能重定向到< urlEncodedStringToListAllItemsView>指向的位置.

2. The call succeeds in deleting the item but fails to redirect to the location pointed to by <urlEncodedStringToListAllItemsView>.

3.当我通过Fiddler进行跟踪或检查IIS日志时,我发现对上述URL的POST请求紧随其后的是对相同确切URL的GET请求,而不是对列表的所有项"的GET请求.就像人们期望的那样.

3. When I trace through Fiddler or check IIS logs, I find that the POST request to the above URL is followed immediately by a GET request to the same exact URL instead of a GET to the list's "All Items" view as one would expect.

还有其他人看到过这种行为吗?任何想法可能是什么原因造成的?

Anyone else seen this kind of behavior? Any ideas what could be causing it?

推荐答案

今天才发现最小下载策略功能可能是造成此问题的原因.当我关闭MDS功能时,项目删除和往常一样工作正常,并且重定向到NextUsing查询字符串参数所指向的位置 也可以.但是,很难相信MDS本身可能会导致此问题,因为考虑到SharePoint中的一些操作导致owssvr的RPC调用,这种基本的事情本来应该很猖and,并且都应该失败. MDS已打开.因此,这里可能还有其他一些原因与MDS结合使用会导致这种情况.我还不知道那是什么.
Just found today that the Minimal Download Strategy feature may be causing this. When I turn off the MDS feature, the item deletion works just fine as it always did and the redirection to the location pointed to by the NextUsing query string parameter works as well. It is hard to believe however that MDS by itself could be causing this issue because this kind of rudimentary thing should have been rampant given several actions in SharePoint cause the RPC call to owssvr and they should all be failing with MDS turned on. So there may be something else at play here that in combination with MDS causes this. I don't know what that is as yet.


这篇关于owssvr.dll无法重定向到"NextUsing"目录.页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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