Triggered Runbook never completes in System Center 2012 Orchestrator

S’applique à : Microsoft System Center 2012 OrchestratorMicrosoft System Center 2012 Orchestrator Service Pack 1

Symptoms


A Runbook uses the ‘invoke method’ to trigger a child Runbook. The triggered Runbook never finishes and in the policy module log the process shows as terminated.

<MsgCode>_com_error</MsgCode>
<Params>
<Param>Unspecified error</Param>
<Param></Param>
<Param>-2147467259</Param>
</Params>
</Exception></Prev>
</Exception></Prev>
</Exception>
2012-07-31 16:49:05 [4816] 1 Process terminated: exception caught.

Cause


This can occur if disallow results from triggers is enabled on the SQL Server.

Resolution


To resolve this issue, change the disallow results from triggers value to ‘0’.

First run following SQL statements in SQL Management Studio to verify the current setting:

USE master
XEC sp_configure 'show advanced option',1
RECONFIGURE
XEC sp_configure

If the value is ‘1’, change the setting to ‘0’ by running the following:

EXEC sp_configure 'disallow results from triggers',0
RECONFIGURE

More Information


This issue has been corrected in System Center 2012 Orchestrator Service Pack 1 (SP1).

Note that this feature will be removed in the next version of SQL server and that the recommended setting for this value is ‘1’: 

http://msdn.microsoft.com/en-us/library/ms186337.aspx