Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/387.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SharePoint 2010使用Javascript REST“签出”期间“此页面的安全验证无效”_Javascript_Sharepoint_Sharepoint 2010 - Fatal编程技术网

SharePoint 2010使用Javascript REST“签出”期间“此页面的安全验证无效”

SharePoint 2010使用Javascript REST“签出”期间“此页面的安全验证无效”,javascript,sharepoint,sharepoint-2010,Javascript,Sharepoint,Sharepoint 2010,在特定客户端的环境中,使用签出会导致错误。此页的安全验证无效。我已经用尽了所有我能想到的代码,但我无法在另一个环境中复制。其他客户端没有相同代码的此问题 在Fiddler中,异常发生在Client.svc/ProcessQuery调用期间 执行该操作的特定javascript代码如下所示: var context = new SP.ClientContext(srvRelUrl); var spWeb = context.get_site().openWebById(new SP.Guid(we

在特定客户端的环境中,使用签出会导致错误。此页的安全验证无效。我已经用尽了所有我能想到的代码,但我无法在另一个环境中复制。其他客户端没有相同代码的此问题

在Fiddler中,异常发生在Client.svc/ProcessQuery调用期间

执行该操作的特定javascript代码如下所示:

var context = new SP.ClientContext(srvRelUrl);
var spWeb = context.get_site().openWebById(new SP.Guid(webId));
var spFile = spWeb.getFileByServerRelativeUrl(GetRelative(fileUri));
UpdateFormDigest((window)._spPageContextInfo.webServerRelativeUrl, (window)._spFormDigestRefreshInterval);
spFile.checkOut();
我可以在哪里调查该问题?我没有检查任何有关DNS或SP安全性的信息,因为我真的不知道该去哪里查找

FQDN位于客户端的受信任站点中。 用户确实具有相应的签出权限。 FormDigest正确生成并验证