Symptom
BizTalk-värd instans kraschar när du försöker skicka meddelanden till ett SAP-system med hjälp av ett felaktigt användarnamn eller lösenord i Microsoft BizTalk Server 2013 R2 eller i Microsoft BizTalk Server 2013. Dessutom loggas följande felmeddelande i programloggen:
Program: BTSNTSvc64.exe
Framework Version: v <Versionsnummer>
Beskrivning: Processen avslutades på grund av ett ohanterat undantag.
Undantag Info: System.Runtime.CallbackException
Stacken:
vid Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredAsyncResult.SignalFinished (System.Object, System.Exception)
vid Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1[[System.__Canon, mscorlib, Version = 4.0.0.0 kultur = neutral, PublicKeyToken = b77a5c561934e089]]. AsyncRequest(System.Object)
vid System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
vid System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
vid System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
vid System.Threading.ThreadPoolWorkQueue.Dispatch()
Ett ohanterat undantag inträffade, Undantagsinformation: System.Runtime.CallbackException: asynkront motanrop kastade ett undantag. ---> System.ServiceModel.CommunicationObjectFaultedException: Kommunikationsobjekt Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1[System.ServiceModel.Channels.IRequestChannel], kan inte användas för kommunikation eftersom det har status Faulted.
Stackspårning för servern:
vid System.ServiceModel.Channels.CommunicationObject.BeginClose (TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
vid Microsoft.BizTalk.Adapter.Wcf.Runtime.OneWayOperationSendPortRequestChannel'1.OnBeginClose (TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
vid System.ServiceModel.Channels.CommunicationObject.CloseAsyncResult..ctor (CommunicationObject communicationObject, TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
vid System.ServiceModel.Channels.CommunicationObject.BeginClose (TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
vid System.ServiceModel.Channels.CommunicationObject.CloseAsyncResult..ctor (CommunicationObject communicationObject, TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
vid System.ServiceModel.Channels.CommunicationObject.BeginClose (TimeSpan-timeout, AsyncCallback motringning, objekt tillstånd)
Undantag rethrown [0]:
vid System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage (reqMsg IMessage, IMessage retMsg)
vid System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (MessageData & msgData, Int32 typ)
vid System.ServiceModel.ICommunicationObject.BeginClose (AsyncCallback motringning, objekt tillstånd)
vid Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient'2.HandleTransmissionException[ChannelType] (undantag ex CallbackState'1-läge)
vid Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient'2.RequestCallback (IAsyncResult resultat)
vid System.Runtime.AsyncResult.Complete (booleska completedSynchronously)
Torrsubstanshalt slut stackdump torrsubstanshalt
vid System.Runtime.AsyncResult.Complete (booleska completedSynchronously)
vid System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.CallComplete (booleska completedSynchronously, undantag undantag)
vid System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishSend (IAsyncResult resultatet, booleska completedSynchronously)
vid System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame (IAsyncResult resultat)
vid Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredAsyncResult.SignalFinished (objektet operationResult, undantaget operationException)
vid Microsoft.Adapters.Internal.LayeredChannelBindingElement.LayeredOutboundChannel'1.AsyncRequest (objektet obj)
vid System.Threading.ExecutionContext.RunInternal (ExecutionContext executionContext, ContextCallback motringning, objekt tillstånd, booleska preserveSyncCtx)
vid System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback motringning, objekt tillstånd, booleska preserveSyncCtx)
vid System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
vid System.Threading.ThreadPoolWorkQueue.Dispatch().
Lösning
Information om Kumulativ uppdatering
Det här problemet korrigerades först i följande kumulativ uppdatering för BizTalk Server och BizTalk Adapter Pack 2013:
Status
Microsoft har bekräftat att detta är ett problem i Microsoft-produkterna som nämns i avsnittet "Gäller".
Referenser
Mer information om servicepack och kumulativ uppdatering lista för BizTalk Server Se KB 2555976: Service pack och kumulativ uppdatering lista för BizTalk Server.
Läs mer om snabbkorrigeringar för BizTalk Server KB 2003907: Information om BizTalk-snabbkorrigeringar och kumulativ uppdatering support.