狀況
假設您使用 WCF SAP 配接器,及您的ConnectorType值設定為NCo ,並且您設定特定的 RFC 伺服器目的地名稱。當 saprfc.ini 檔案會包含額外的註解、 空格和換行字元目的定義中的時,WCF SAP 介面卡失敗,並且您會收到下列錯誤訊息︰
傳訊引擎無法新增接收位置 url"sap://CLIENT=###;"MyReceiveLocation"LANG=EN;@a/sapserver/##?ListenerDest = DEST1 和 RfcSdkTrace = False & AbapDebug ="到"WCF SAP 」 介面卡。原因: 「 System.IndexOutOfRangeException︰ 索引超出界限的 array.at Microsoft.Adapters.SAP.NCo.SAPRfcFileParameters.GetSectionInformationFromIniFile (字串 tempFilePath、 字串 destinationNameFromUri、 Int32 sectionCount)
在 Microsoft.Adapters.SAP.NCo.RfcServerConnection.GetParameters (字串伺服器名稱)
在 Microsoft.Adapters.SAP.NCo.RfcServerConnection.Open (RfcClientConnection conn)
在 Microsoft.Adapters.SAP.SAPInboundContract.InitializeRfcServerConnectionNCo (字串 connectionArguments)
在 Microsoft.Adapters.SAP.SAPInboundContract.StartListener (字串 [] listenerActions,TimeSpan 逾時)
在 Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener'1.OnOpen (TimeSpan 逾時)
在 System.ServiceModel.Channels.CommunicationObject.Open (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 (字串 url、 IPropertyBag adapterConfig、 IPropertyBag bizTalkConfig) 」。
解決方案
累積更新資訊
下列的累積更新的 BizTalk Server 包含的修正程式可以解決這個問題︰
狀態
Microsoft 已確認這是<套用>一節所列出的 Microsoft 產品的問題。
參考
請瞭解有關service pack 以及累積的更新清單的 BizTalk Server。
深入了解BizTalk Server hotfix 和累積的更新支援服務。
本文將所述之產品製造協力廠商均與 Microsoft 無關。Microsoft 不對這些產品之其他相關效能或可靠性作出任何擔保或默示。