Microsoft Dynamics AX 2009 - Attempt to call pause in non-server mode

DynamicsAX2009_LogEvent116.Rule (Rule)

Tracing event for Microsoft Dynamics AX 2009 errors. System method pause() used inappropriately within X++ code.

Knowledge Base article:

Causes

This is a tracing event for a Microsoft Dynamics AX 2009 error. The system method Pause() was used inappropriately within X++ code.

Resolutions

Calling Pause() should be avoided or restricted to client-only code.

Element properties:

TargetMicrosoft.Dynamics.AX.Management.Pack.DynamicsServer
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventCollector Default
PublishToDatabase WriteAction Microsoft.SystemCenter.CollectEvent Default
PublishToDataWarehouse WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="DynamicsAX2009_LogEvent116.Rule" Enabled="true" Target="Microsoft.Dynamics.AX.Management.Pack.DynamicsServer" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventCollector">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<AllowProxying>false</AllowProxying>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">116</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>($Target/Property[Type="Microsoft.Dynamics.AX.Management.Pack.DynamicsServer"]/DynamicsEventSourceAttribute$){1}</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="PublishToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="PublishToDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>