KHẮC PHỤC: Bộ điều hợp nco wcf-sap không thành công khi tệp saprfc.ini chứa chú thích trong BizTalk Server

Áp dụng cho
BizTalk Server 2013 Branch BizTalk Server 2013 Developer BizTalk Server 2013 Enterprise BizTalk Server 2013 Standard Microsoft BizTalk Adapter Pack 2013

Triệu chứng

Giả sử bạn sử dụng bộ điều hợp WCF-SAP và bạn đặt giá trị ConnectorType thành NCo , đồng thời đặt một Tên Đích Máy chủ RFC cụ thể. Khi tệp saprfc.ini có chứa chú thích, khoảng trắng và dấu xuống dòng dư thừa trong định nghĩa đích, bộ điều hợp WCF-SAP bị lỗi và bạn nhận được thông báo lỗi sau đây:

Lưu ý

Công cụ Nhắn tin không thể thêm vị trí nhận "MyReceiveLocation" với URL "sap://CLIENT=###; LANG=EN;@a/sapserver/##?ListenerDest=DEST1&RfcSdkTrace=False&AbapDebug=False" với bộ điều hợp "WCF-SAP". Lý do: "System.IndexOutOfRangeException: Index was outside the bounds of the array.at Microsoft.Adapters.SAP.NCo.SAPRfcFileParameters.GetSectionInformationFromIniFile(String tempFilePath, String destinationNameFromUri, Int32 sectionCount)
tại Microsoft.Adapters.SAP.NCo.RfcServerConnection.GetParameters(String serverName)
at Microsoft.Adapters.SAP.NCo.RfcServerConnection.Open(RfcClientConnection conn)
tại Microsoft.Adapters.SAP.SAPInboundContract.InitializeRfcServerConnectionNCo(String connectionArguments)
at Microsoft.Adapters.SAP.SAPInboundContract.StartListener(String[] listenerActions, TimeSpan timeout)
tại Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener'1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
tại 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)
tại Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
tại 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)".

Giải pháp

Thông tin cập nhật tích lũy

Bản sửa lỗi giúp giải quyết sự cố này được bao gồm trong bản cập nhật tích lũy sau đây dành cho BizTalk Server:

          

Trạng thái

Microsoft đã xác nhận rằng đây là sự cố trong các sản phẩm của Microsoft được liệt kê trong mục "áp dụng cho".

Tham khảo

Tìm hiểu về gói dịch vụ và danh sách cập nhật tích lũy cho BizTalk Server.

Tìm hiểu về bản sửa lỗi nóng BizTalk Server và hỗ trợ cập nhật tích lũy .

Tuyên bố từ chối trách nhiệm thông tin của bên thứ ba

Các sản phẩm bên thứ ba mà bài viết này đề cập được sản xuất bởi các công ty độc lập với Microsoft. Microsoft không đưa ra sự đảm bảo, dù là ngụ ý hay theo một hình thức khác, về hiệu suất hoặc mức độ tin cậy của những sản phẩm này.