简体   繁体   English

打开队列管理器名称时遇到错误 =.... 原因代码 = 2354

[英]Error encountered on opening Queue Manager name = .... Reason code = 2354

First: I have two BizTalk applications.首先:我有两个 BizTalk 应用程序。 First one does polling from SQL server and send to an MQ queue, works fine.第一个从 SQL 服务器轮询并发送到 MQ 队列,工作正常。 The second processes a file and uses a dynamic send port.第二个处理文件并使用动态发送端口。 In the orchestration I have updated TOMQ(Microsoft.XLANGs.BaseTypes.Address)= QueuePath;在编排中,我更新了 TOMQ(Microsoft.XLANGs.BaseTypes.Address)= QueuePath; TOMQ(Microsoft.XLANGs.BaseTypes.TransportType)="MQSeries"; TOMQ(Microsoft.XLANGs.BaseTypes.TransportType)="MQSeries"; It grabs the file, processes it, sends the results to an output directory.它抓取文件,处理它,将结果发送到 output 目录。 (This works fine.) Then to MQ. (这很好用。)然后到 MQ。 MQ throws the error: Error encountered on opening Queue Manager name =.... Reason code = 2354. I checked and it is getting the correct queue path, but fails. MQ 抛出错误:打开队列管理器名称时遇到错误 =.... 原因代码 = 2354。我检查并获取正确的队列路径,但失败。 Anyone have any suggestions.任何人都有任何建议。 I've checked all I can think of.我已经检查了所有我能想到的。

I answered this question on this post: I have a BizTalk application with a dynamic send port that is set to "MQSeries".我在这篇文章中回答了这个问题: 我有一个 BizTalk 应用程序,它的动态发送端口设置为“MQSeries”。 Can I programmatically set its properties? 我可以以编程方式设置其属性吗?

Basically, I had to create a copy of my message, and add the MQSeries.dll as a reference to my project.基本上,我必须创建我的消息的副本,并添加 MQSeries.dll 作为对我的项目的引用。 I then I set the property like this.然后我像这样设置属性。

  DBMSGMQ = DBMSGOUT;
  DBMSGMQ(MQSeries.TransactionSupported)="False";

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ExtractMethodCodeRefactoringProvider 的原因遇到错误并已被禁用? - Reason for ExtractMethodCodeRefactoringProvider encountered an error and has been disabled? 学习 Unity 中的保存和加载; 由于未知原因遇到错误 CS1513 - Learning about Saving and Loading in Unity; encountered error CS1513 for unknown reason 遇到音频设备错误。 -错误代码:0x4 - Audio device error encountered. - Error Code: 0x4 JSON 错误:期望状态 'element'.. 遇到名称为 ''、命名空间为 '' 的 'text' - JSON error : expecting state 'element'.. encountered 'text' with name '', namespace '' Unity C#错误代码的未知原因 - Unity C# unknown reason for error code 打开XML文件时出错(错误名称异常) - Error opening XML file (bad name exception) 异步队列管理器 - Asynchronous Queue Manager 使用代码对Excel的名称管理器中的命名范围进行排序 - Sorting the Named Ranges in Excel's Name Manager with code 在声明的主机中创建队列管理器 - Create Queue Manager in a Declared Host 如何使用CCDT文件连接队列管理器(2063错误)。 在app.config文件中添加ChannelDefinitionDirectory - How to connect the queue manager using CCDT file(2063 error) . adding the ChannelDefinitionDirectory in app.config file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM