为什么我的Sharepoint IRM模块无法间歇性地重新初始化?

时间:2010-09-22 11:08:32

标签: sharepoint sharepoint-2007 sharepoint-api

我有一个可以在大多数时间工作的Sharepoint IRM模块。然而,大多数早晨,当我进来并尝试锻炼它时,它无法工作。 IISReset通常会再次运行。

Windows事件日志在大多数早晨01:45左右显示以下错误(此帖子的GUID已空白)。

Information Rights Management (IRM): Protector {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} experienced a problem while being initialized.
Protector: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}

Additional Data
Error value: 80070005

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

此错误与其他三个IRM模块成功重新初始化的其他三个事件一起发生(我相信这些是内置的)。

Sharepoint日志包含非常相似的内容:

09/22/2010 01:45:20.39  w3wp.exe (0x11EC)                           0x1338  Windows SharePoint Services     IRM                             95lu    Information Information Rights Management (IRM): The initialization of protector {4F9976DD-47C3-4518-B2A2-A258B379F970} was completed. Protector: {4F9976DD-47C3-4518-B2A2-A258B379F970}     
09/22/2010 01:45:20.56  w3wp.exe (0x11EC)                           0x1338  Windows SharePoint Services     IRM                             95lu    Information Information Rights Management (IRM): The initialization of protector {4F9976DC-47C3-4518-B2A2-A258B379F970} was completed. Protector: {4F9976DC-47C3-4518-B2A2-A258B379F970}     
09/22/2010 01:45:20.58  w3wp.exe (0x11EC)                           0x1338  Windows SharePoint Services     IRM                             95lu    Information Information Rights Management (IRM): The initialization of protector {4F9976DE-47C3-4518-B2A2-A258B379F970} was completed. Protector: {4F9976DE-47C3-4518-B2A2-A258B379F970}     
09/22/2010 01:45:20.61  w3wp.exe (0x11EC)                           0x1338  Windows SharePoint Services     IRM                             95lt    Critical    Information Rights Management (IRM): Protector {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} experienced a problem while being initialized. Protector: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}  Additional Data Error value: 80070005

IRM模块在HrSetLangId和HrInit中也有自己的日志记录。在此故障情况下,模块未记录任何内容。

处理此错误代码的

Microsoft's suggestions主要围绕检查Sharepoint是否可以与RMS服务器通信。在我们的IRM模块的情况下,我们实际上不需要RMS服务器,因此没有设置一个。由于问题是间歇性的,这似乎不是原因。

在IISReset之后,模块似乎正确初始化(在所有3个日志中)并再次开始工作。

FWIW模块是用C#编写的。

感谢收到有关如何解决这个问题的任何建议。

1 个答案:

答案 0 :(得分:0)

我仍然不确定问题是什么,但删除了HrSetLangId和HrInit中的日志记录错误消失了。因此,重新初始化模块的方式不同于第一次初始化,前者在后一种情况下记录失败,而后者则不然。