计算项目System.UnauthorizedAccessException信息策略管理的到期日期时出错 [英] Error computing the expiration date for item System.UnauthorizedAccessException Information Policy Management

查看:63
本文介绍了计算项目System.UnauthorizedAccessException信息策略管理的到期日期时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在WF Sharepoint服务器上收到以下事件。

We are getting the following events on our WF Sharepoint Server.

几周前开始发生似乎每次将列表项添加到列表时都会出现。

Started happening a few weeks ago and seems to occur every time a list item is added to the list.

H

推荐答案

hi highlander1980,

Hi highlander1980 ,

您可能在同一个请求中执行了多个更新,因此第二个更新将抛出该错误,因为它会认为存在另一个用户更新。

You may be performing more than one update in the same request, so the second update will throw that error because it will think there is another user updating.

您可以运行以下命令:

web.AllowUnsafeUpdates = true

web.AllowUnsafeUpdates = true

更多信息:

https:/ /sharepoint.stackexchange.com/questions/31171/error-computing-the-expiration-data-for-item

这里有类似的情况:

https://social.msdn.microsoft.com/Forums/en-US/c6e51231-f68c-438a-ac78-3a2365f34558/retention-info-not-set-when-adding-item- programmatically-owsmetainfo-not-updated?forum = sharepointdevelopmentprevious

如果问题仍然存在,您可以查看ULS日志中是否存在相关的错误消息。

If the problem persists, you can see if there is a relevant error message in the ULS log.

ULS日志位于: 

C:\Program Files \Common Files\Microsoft Shared\Web Server Extensions\15\LOGS

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS

祝你好运

Itch Sun


这篇关于计算项目System.UnauthorizedAccessException信息策略管理的到期日期时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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