文档库ItemUpdated事件处理程序错误 [英] document library ItemUpdated event handler error
问题描述
大家好,
我需要创建事件处理程序并使用每次更改的文档属性记录用户事件.
I have a requirement to create event handler and log the user events with document properties for every change.
为了达到上述要求,我创建了itemupdated事件处理程序并能够更新属性,在更新属性后,我调用了一个函数来记录文档属性更改.当时在logsplist下创建新条目时 更新列表项的步骤i收到错误< nativehr> 0x80070005</nativehr>< nativestack>/nativestack>"
To achieve the above requirement, I have created itemupdated event handler and able to update the properties, after the properties updated i have called a function to log the document properties changed. when creating a new entry under logsplist at time of updating list item i am receiving an error "<nativehr>0x80070005</nativehr><nativestack></nativestack>"
有人可以在这里帮我吗
MercuryMan
MercuryMan
推荐答案
似乎是权限问题/未经授权的访问
Seems like the issue with permissions / Unauthorized access
尝试
SPSecurity.RunWithElevatedPrivileges(delegate() {
});
});
请记住在答复中将其标记为答案.
这篇关于文档库ItemUpdated事件处理程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!