MQSeries アダプターに関する既知の問題
ここでは、エラー回避に役立つ情報を記載します。
既知の問題
メッセージの送信または受信を試行したときにアクセス拒否エラーが発生する
問題
MQSeries アダプターを使用して MQSeries サーバーとの間でメッセージを送信または受信すると、イベント ビューアーのアプリケーション ログに次のようなメッセージが記録されます。
The adapter "MQSeries" raised an error message. Details "The adapter has encountered an 'Access Denied' error while attempting to contact the COM+ object on the MQSeries server. Ensure the BizTalk account is added to the Role on the MQSAgent COM+ application."
The adapter failed to transmit message going to send port "MQS://servername/queuename". It will be retransmitted after the retry interval specified for this Send Port. Details: "The adapter has encountered an 'Access Denied' error while attempting to contact the COM+ object on the MQSeries server. Ensure the BizTalk account is added to the Role on the MQSAgent COM+ application."
Note
このエラー メッセージでは、 servername はサーバー の名前、 queuename はキューの名前です。
さらに、BizTalk Adapter for MQSeries を使用する構成で受信場所または送信ポートを作成しようとすると、イベント ビューアーに次の警告メッセージが表示されることがあります。
The adapter "MQSeries" raised an error message. Details "The adapter has encountered an 'Access Denied' error while attempting to contact the COM+ object on the MQSeries server. Ensure the BizTalk account is added to the Role on the MQSAgent COM+ application."
原因
この問題は、以下の状況が少なくとも 1 つ該当する場合に発生する可能性があります。
MQSeries アダプターのホスト アカウントに、MQSeries サーバー上の MQSAgent COM+ アプリケーションに必要なアクセス許可がない。
Windows サーバーでは、MQSeries アダプターのホスト・アカウントは、MQSeries サーバー上の分散 COM ユーザー・グループのメンバーではありません。
解決方法
この問題を解決するには、次の方法を使用します。 最初の方法から試し、問題を解決できなかった場合は次の方法を試してください。
方法 1: Microsoft Server でネットワーク COM+ アクセスを有効にする
Microsoft Server でネットワーク COM+ アクセスを有効にします。 詳細については、「 COM+ ネットワーク アクセスを有効にする」を参照してください。
方法 2: MSDTC 設定を構成する
「MSDTC に関する問題のトラブルシューティング」の 「適切な MSDTC セキュリティ構成オプションを設定 する」の手順に従って 、MSDTC 設定を構成します。
方法 3: ホスト アカウントが MQSAgent COM+ アプリケーションのロールに追加されていることを確認する
MQSeries アダプターのホスト アカウントが、MQSeries サーバー上の MQSAgent COM+ アプリケーションに作成されたロールに追加されていることを確認します。 これは [コンポーネント サービス] 管理コンソール インターフェイスで確認できます。
方法 4: MQSeries アダプターのホスト アカウントが、分散 COM ユーザー グループのメンバーであることを確認する
Windows Server で、MQSeries アダプターのホスト アカウントのグループ メンバーシップを調べます。 アカウントが、MQSAgent COM+ アプリケーションがインストールされている MQSeries サーバー上の 分散 COM ユーザー ・グループのメンバーであることを確認します。
DCOM のセキュリティ強化の詳細については、「 DCOM セキュリティの強化」を参照してください。