Failed while delivering a message to a service instance error
- From: Imran Shafqat <ImranShafqat@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 May 2007 09:38:02 -0700
I received a quite a lot “failed while delivering a message to a service
instance” yesterday in production right after midnight. The error further
down mentions the exact reason that string was not recognised as a valid
DateTime. I’ve verified and all the date fields in the message itself are ok.
The trace shows that the error was returned from the following BTS method:
BTXService.HandleSpecialMessage(IBTMessage msg)
Any ideas why this could be happening? Exception message:
Failed while delivering a message to a service instance. Message details
follow.
Message ID: 25843115-e984-441a-9484-d38b71cee346
Service Instance ID: 11c9f5bc-27d9-4359-b5e1-9202df7262d3
Service Type ID: 7a150dc8-276e-8676-b5c0-61d6a708ed29
Subscription ID: 00000000-0000-0000-0000-000000000000
Body part name:
Service type: TXYZ.XYZ.Orchestrations, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=123412341234
Exception type: BTXMessageDeliveryException
The following is a stack trace that identifies the location where the
exception occured
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.DeliverMessage(Guid
subscriptionId, IBTMessage msg, Boolean& receiveCompleted)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._tryReceiveOneMessage(Boolean&
loggedError, Guid& instanceId, IBTMessage currMsg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._receiveOneMessage(Guid&
instanceId, Guid& serviceId, IBTMessage currentMsg)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession.ReceiveMessages(IBTMessage[]
messages, Int32 firstIdx, Int32 count)
at
Microsoft.BizTalk.XLANGs.BTXEngine.AppDomains.AppDomainRoot.Microsoft.XLANGs.BizTalk.ProcessInterface.IAppDomainStub.ReceiveMessages(Object objMsg)
at
Microsoft.XLANGs.BizTalk.CrossProcess.AppDomainStubProxy.Microsoft.XLANGs.BizTalk.ProcessInterface.IAppDomainStub.ReceiveMessages(Object msgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
at
System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at
System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
at
System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
at
System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
at System.Threading.Thread.InternalCrossContextCallback(Context ctx,
IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall,
Object[] args)
at
System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessage(IMessage reqMsg)
at
System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage(IMessage
msg)
at System.Runtime.Remoting.Channels.CrossAppDomainSink.DoDispatch(Byte[]
reqStmBuff, SmuggledMethodCallMessage smuggledMcm,
SmuggledMethodReturnMessage& smuggledMrm)
at
System.Runtime.Remoting.Channels.CrossAppDomainSink.DoTransitionDispatchCallback(Object[] args)
at
System.Threading.Thread.CompleteCrossContextCallback(InternalCrossContextDelegate ftnToCall, Object[] args)
Additional error information:
String was not recognized as a valid DateTime.
Exception type: FormatException
Source: mscorlib
Target Site: System.DateTime Parse(System.String,
System.Globalization.DateTimeFormatInfo, System.Globalization.DateTimeStyles)
The following is a stack trace that identifies the location where the
exception occured
at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi,
DateTimeStyles styles)
at System.DateTime.Parse(String s, IFormatProvider provider)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at
Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.HandleSpecialMessage(IBTMessage
msg)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.DeliverMessageImpl2(Guid
subscriptionId, IBTMessage msg, Boolean& receiveCompleted)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.DeliverMessageImpl(Guid
subscriptionId, IBTMessage msg, Boolean& receiveCompleted)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.DeliverMessage(Guid
subscriptionId, IBTMessage msg, Boolean& receiveCompleted)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
.
- Follow-Ups:
- Re: Failed while delivering a message to a service instance error
- From: scolestock@xxxxxxxxxxxxxxxx
- Re: Failed while delivering a message to a service instance error
- Prev by Date: Re: Configurable Timespan Value in Wait Shape
- Next by Date: bts.inboundtransportlocation question
- Previous by thread: Receive location to consume 2 files and compare
- Next by thread: Re: Failed while delivering a message to a service instance error
- Index(es):
Relevant Pages
|