简体   繁体   English

BizTalk静态发送端口使用WMI脚本更改地址(URI)或在bts_sendport_transport中更新不起作用

[英]BizTalk Static send ports changing the address(URI) using WMI script or updating in bts_sendport_transport not working

I am trying to change the static send port URI from BizTalk admin console by opening the configuration, I am able to do change the URI. 我正在尝试通过打开配置从BizTalk管理控制台更改静态发送端口URI,我能够更改URI。

But if I do the send port URIchange using WMI script in c# or directly update on bts_sendport_transport , it changes the URI in database and the change appears in the send port list also. 但是,如果我在C#中使用WMI脚本执行发送端口URIchange或直接在bts_sendport_transport更新,它将更改数据库中的URI,并且更改也会显示在发送端口列表中。

Bur when I open the MQ configuration, I can still find the old URI in MQ definition. 当我打开MQ配置时,我仍然可以在MQ定义中找到旧的URI。

Can any one please help me to change the MQ definition in send ports without using admin console? 谁能在不使用管理控制台的情况下帮助我更改发送端口中的MQ定义?

I think your approach to the problem is wrong they invernted dynamic ports for your problem. 我认为您解决问题的方法是错误的,因为他们为您的问题使用了动态端口。 since your question not clear enough may be I don't understand your problem clearly. 由于您的问题不够清楚,可能是我不太清楚您的问题。

Here is link for Dynamic Ports and Usage http://www.codeproject.com/Articles/502425/BizTalk-Static-and-Dynamic-FTP-Send-Port-Sample 这是动态端口和使用情况的链接http://www.codeproject.com/Articles/502425/BizTalk-Static-and-Dynamic-FTP-Send-Port-Sample

you must focus on last part 你必须专注于最后一部分

 Msg_DynamicSend(FTP.CommandLogFileName) = "D:\\\\BiztalkLogs\\\\FTPLog\\\\DynamicFTPLog.txt"; Msg_DynamicSend(FTP.UserName) = "FTPUSER"; Msg_DynamicSend(FTP.Password) = "Pass1234"; Msg_DynamicSend(FTP.SpoolingFolder) = "/IN/"; Msg_DynamicSend(FTP.RepresentationType) = "ASCII"; DynSendPort(Microsoft.XLANGs.BaseTypes.Address)= "ftp://inhydeshrilata"; DynSendPort(Microsoft.XLANGs.BaseTypes.TransportType) = "FTP" 

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM