[BTS]The join order has been enforced because a local join hint is used.;Duplicate key was ignored."...

在一个客户的BizTalk Server 2013 R2环境中会报如下的ERROR,查找相关资料后,先试试停掉所有Trace。


Log Name:      Application
Source:        BizTalk Server
Date:          3/3/2015 7:59:12 AM
Event ID:      6912
Task Category: BizTalk Server
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      BizTalk_PRD_Server
Description:
The following stored procedure call failed: " { call [dbo].[bts_UpdateMsgbox_XXXXXXXXX]( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}". SQL Server returned error string: "Warning: The join order has been enforced because a local join hint is used.;Warning: The join order has been enforced because a local join hint is used.;Duplicate key was ignored.".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="BizTalk Server" />
    <EventID Qualifiers="49344">6912</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-03-02T23:59:12.000000000Z" />
    <EventRecordID>79877</EventRecordID>
    <Channel>Application</Channel>
    <Computer>BizTalk_PRD_Server</Computer>
    <Security />
  </System>
  <EventData>
    <Data> { call [dbo].[bts_UpdateMsgbox_XXXXXXXXXXXXX]( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}</Data>
    <Data>Warning: The join order has been enforced because a local join hint is used.;Warning: The join order has been enforced because a local join hint is used.;Duplicate key was ignored.</Data>
  </EventData>
</Event>

 

Reference

https://social.msdn.microsoft.com/Forums/en-US/2b07de27-7e70-462d-af66-a6d535cdc886/biztalk-2009-sql-msgbox-error?forum=biztalkgeneral

1.sometimes we get this error when sql server is too busy to execute this stored proc, so better keep an eye on sql server performance.

2.There could be temporory network glitch, are you getting this error regularly?

3.I increased the VM memory to 2Gb and reduced the amount of BizTalk tracking - if I set tracking of properties & message bodies on receive, the problem seemed to occur more often.

4.The Problem Doesn't Seem to Occur if the tracking message bodies on receive Port is not been Set.

5. It was fixed by unchecking tracking.

 

转载于:https://www.cnblogs.com/xuzhong/p/4310688.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值