症状
当您尝试将消息发送到 SAP 系统中,使用了不正确的登录用户名或密码或 Microsoft BizTalk Server 2013 Microsoft BizTalk Server 2013 R2 中时,BizTalk 主机实例就会崩溃。此外,应用程序日志中记录以下错误消息︰
应用程序︰ BTSNTSvc64.exe
框架版本︰ v <版本号>
说明︰ 由于未处理的异常而终止进程。
异常信息︰ System.Runtime.CallbackException
堆栈︰
在 Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredAsyncResult.SignalFinished (System.Object,System.Exception)
在 Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1[[System.__Canon,mscorlib 除外,版本 = 4.0.0.0,区域性程序 = b77a5c561934e089]]。AsyncRequest(System.Object)
在 System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)
在 System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值)
在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在 System.Threading.ThreadPoolWorkQueue.Dispatch()
捕获到未处理的异常,异常详细信息︰ System.Runtime.CallbackException︰ 异步回调引发异常。---> System.ServiceModel.CommunicationObjectFaultedException︰ 通信对象,Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1[System.ServiceModel.Channels.IRequestChannel],因为它处于 Faulted 状态无法用于通信。
服务器堆栈跟踪︰
在 System.ServiceModel.Channels.CommunicationObject.BeginClose (时间跨度超时、 异步回调操作回调对象状态)
在 Microsoft.BizTalk.Adapter.Wcf.Runtime.OneWayOperationSendPortRequestChannel'1.OnBeginClose (时间跨度超时、 异步回调操作回调对象状态)
在 System.ServiceModel.Channels.CommunicationObject.CloseAsyncResult..ctor,CommunicationObject communicationObject,时间跨度超时、 异步回调操作回调 (对象状态)
在 System.ServiceModel.Channels.CommunicationObject.BeginClose (时间跨度超时、 异步回调操作回调对象状态)
在 System.ServiceModel.Channels.CommunicationObject.CloseAsyncResult..ctor,CommunicationObject communicationObject,时间跨度超时、 异步回调操作回调 (对象状态)
在 System.ServiceModel.Channels.CommunicationObject.BeginClose (时间跨度超时、 异步回调操作回调对象状态)
在 [0] 重新引发的异常︰
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (IMessage reqMsg,IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (MessageData & msgData,Int32 类型)
在 System.ServiceModel.ICommunicationObject.BeginClose (异步回调操作回调的对象状态)
在 Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient'2.HandleTransmissionException[ChannelType] (ex,CallbackState'1 状态异常)
在 Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient'2.RequestCallback (IAsyncResult 结果)
在 System.Runtime.AsyncResult.Complete (布尔型 completedSynchronously)
---内部异常的堆栈跟踪---结束
在 System.Runtime.AsyncResult.Complete (布尔型 completedSynchronously)
在 System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.CallComplete (布尔型 completedSynchronously、 异常异常)
在 System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishSend (布尔型 completedSynchronously IAsyncResult 结果)
在 System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame (IAsyncResult 结果)
在 Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredAsyncResult.SignalFinished (对象 operationResult,异常 operationException)
在 Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1.AsyncRequest (对象 obj)
在 System.Threading.ExecutionContext.RunInternal,ExecutionContext executionContext,ContextCallback 回调、 对象状态 (布尔型 preserveSyncCtx)
在 System.Threading.ExecutionContext.Run,ExecutionContext executionContext,ContextCallback 回调、 对象状态 (布尔型 preserveSyncCtx)
在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
在 System.Threading.ThreadPoolWorkQueue.Dispatch()。
解决方案
累积更新信息
首先是 BizTalk Server 和 BizTalk 适配器包 2013年以下累积更新中解决此问题︰
状态
Microsoft 已经确认这是“适用于”一节中列出的 Microsoft 产品中的问题。
参考资料
BizTalk Server 服务包和累积更新列表的详细信息,请参阅KB 2555976︰ 为 BizTalk Server 服务包和累积更新列表。
BizTalk Server 修补程序有关的详细信息,请参阅KB 2003907: BizTalk 修补程序以及累积的信息更新支持。