消息队列服务无法在 IPv4 和 IPv6 协议上进行侦听

Microsoft.MSMQ.10.0.Rule.Alert.Event2199 (Rule)

Message Queuing 服务无法侦听 IPv4 和 IPv6 协议。将不会接受通过 TCP/IP 协议从网络发送的消息。使用 TCP/IP 协议发往此计算机的消息将不会到达,而是堆积在发件人的传出队列中。

Knowledge Base article:

摘要

Message Queuing 服务无法侦听 IPv4 和 IPv6 协议。将不会接受通过 TCP/IP 协议从网络发送的消息。使用 TCP/IP 协议发往此计算机的消息将不会到达,而是堆积在发件人的传出队列中。

原因

TCP/IP 通信协议未按预期运行。请与您的域管理员联系以解决 TCP/IP 相关问题,然后重新启动计算机。

解决方法

请与域管理员联系,查明可否在此计算机上安装 IPv6 和 IPv4。

启用 IPv6 协议

要自行启用该协议或确定是否支持该协议:

打开​​“控制面板”。要打开“​​控制面板”,请点击 开始,然后点击 控制面板

双击网络和共享中心

任务 部分,点击 管理网络连接

网络连接 中,右击局域网(LAN)图标或相应的网络控制器,然后点击 属性

网络 选项卡中,确保选中 Internet 协议版本 6 (TCP/IPv6) 复选框。

启用 IPv4 协议

要启用 IPv4:

打开​​“控制面板”。点击 开始,然后点击 控制面板

双击 网络和共享中心

任务 部分,点击 管理网络连接

网络连接 中,右击局域网(LAN)图标或相应的网络控制器,然后点击 属性

网络 选项卡中,确保选中 Internet 协议版本 4 (TCP/IPv4) 复选框。

其他

有关详细信息,请参阅事件 ID 2199 ( http://technet.microsoft.com/zh-cn/library/dd337523(WS.10).aspx)

Element properties:

TargetMicrosoft.MSMQ.10.0.Servers
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
消息队列服务无法在 IPv4 和 IPv6 协议上进行侦听
事件说明: {0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.MSMQ.10.0.Rule.Alert.Event2199" Enabled="false" Target="Microsoft.MSMQ.10.0.Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">2199</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.MSMQ.10.0.ServerRole"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.MSMQ.10.0.Rule.Alert.Event.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>