将连接器类型更改为“Nco”后,将禁用WCF自定义接收位置。 [英] WCF-Custom Receive location is disabled after changing the connector type as "Nco"

查看:83
本文介绍了将连接器类型更改为“Nco”后,将禁用WCF自定义接收位置。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


在BizTalk Server 2013中,安装累积更新3和4后,在将连接器类型更改为"Nco"后,将禁用WCF自定义接收位置;。


我收到以下错误



Messaging Engine无法添加接收位置" QPA.SAP" URL" sap:// CLIENT = 011; LANG = DE; @A / **************************** / 73? ListenerGwServ = sapgw73&安培; ListenerGwHost = *********&安培; ListenerProgramId = BIZTALK_CRM&安培; RfcSdkTrace =假&安培; AbapDebug =假" ;
到适配器"WCF-Custom"。 原因:"System.ArgumentException:已添加具有相同密钥的项目。

  在System.ThrowHelper.ThrowArgumentException(ExceptionResource资源)

  在System.Collections.Generic.Dictionary`2.Insert(TKey键,TValue值,布尔加法)

  在Microsoft.Adapters.SAP.NCo.RfcServerConnection.Open(RfcClientConnection conn)

  在Microsoft.Adapters.SAP.SAPInboundContract.InitializeRfcServerConnectionNCo(String connectionArguments)

  在Microsoft.Adapters.SAP.SAPInboundContract.StartListener(String [] listenerActions,TimeSpan timeout)

  在Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan超时)

  在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)

  在Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredChannelListener`1.OnOpen(TimeSpan超时)

  在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)

  在System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan超时)

  在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)

  在System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan超时)

  在System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan超时)

  在Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()

  在Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext,IBTTransportProxy transportProxy,ControlledTermination控件)

  在Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url,IPropertyBag adapterConfig,IPropertyBag bizTalkConfig)"。



请让我知道这个问题的解决方案。

解决方案





在接收URL中,您已指定ListenerGwServ,ListenerGwHost和ListenerProgramId参数以及其他参数。



如果你没有依赖saprfc.ini文件,你可以从URL中删除ListenerDest(如果使用)和RfcSdkTrace参数并检查它是否正常工作?



希望这有助于!!!!



如果您满意答复,请标记为已回答


Hi All,

In BizTalk Server 2013, after installing the Cumulative Update 3 and 4, WCF-Custom Receive location is disabled after changing the connector type as "Nco".

I am getting the below error

The Messaging Engine failed to add a receive location "QPA.SAP" with URL "sap://CLIENT=011;LANG=DE;@A/****************************/73?ListenerGwServ=sapgw73&ListenerGwHost=*******************************&ListenerProgramId=BIZTALK_CRM&RfcSdkTrace=False&AbapDebug=False" to the adapter "WCF-Custom". Reason: "System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Microsoft.Adapters.SAP.NCo.RfcServerConnection.Open(RfcClientConnection conn)
   at Microsoft.Adapters.SAP.SAPInboundContract.InitializeRfcServerConnectionNCo(String connectionArguments)
   at Microsoft.Adapters.SAP.SAPInboundContract.StartListener(String[] listenerActions, TimeSpan timeout)
   at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredChannelListener`1.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
   at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)".

Please let me know the solution for this issue.

解决方案

Hi,


In your receive URL, you have specified ListenerGwServ, ListenerGwHost, and ListenerProgramId parameters along with other parameters.

If you have no dependency on saprfc.ini file, Can you remove the ListenerDest (If used) and RfcSdkTrace parameters from the URL and check if it's working?

Hope this Helps!!!!

Please Mark as Answered if you Satisfy with Reply.


这篇关于将连接器类型更改为“Nco”后,将禁用WCF自定义接收位置。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆