Today I wrote a process
The error message is as follows:
Event Type: Error
Event Source: XLANG/s
Event Category: None
Event ID: 10008
Date: 2/21/2008
Time: 9:45:27
User: N/
Computer: LABS
Description:
Uncaught exception (see the 'inner exception' below) has suincluded an instance of service 'eiac. OA. icationicationsystem. Orchestrations. Main (a44769cf-20b3-668b-e434-e1b03b6f84c2 )'.
The service instance will remain susponded until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: ea3c1bab-8383-4bb5-993a-85a7bf05dc66
Shape name: RequestCreateEMailLog
ShapeId: d76938c8-3bb5-408a-9ac5-e0e762bb489b
Exception thrown from: segment 1, progress 37
Inner exception: Exception occurred when persisting state to the database.
Exception type: PersistenceException
Source: Microsoft. XLANGs. BizTalk. Engine
Target Site: Void Commit ()
The following is a stack trace that identifies the location where the exception occured
At Microsoft. BizTalk. XLANGs. BTXEngine. BTXXlangStore. Commit ()
At Microsoft. XLANGs. Core. Service. Persist (Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
At Microsoft. XLANGs. Core. ServiceContext. PendingCommit (Boolean ignore, XMessage msg)
At Microsoft. XLANGs. Core. ExceptionHandlingContext. PendingCommit (Boolean ignoreCommit, XMessage msg)
At Microsoft. bizTalk. XLANGs. BTXEngine. BTXPortBase. sendMessage (Int32 iOperation, XLANGMessage msg, Correlation [] initCorrelations, Correlation [] followCorrelations, SubscriptionWrapper & subscriptionWrapper, Context cxt, Segment seg, ActivityFlags flags)
At Microsoft. XLANGs. Core. PortBase. SendMessage (Int32 iOperation, XLANGMessage msg, Correlation [] initCorrelations, Correlation [] followCorrelations, SubscriptionWrapper & subscriptionWrapper, Context cxt, Segment seg)
At EIAC. OA. icationicationsystem. Orchestrations. Main. segment1 (StopConditions stopOn)
At Microsoft. XLANGs. Core. segmentschedment. RunASegment (Segment s, StopConditions stopCond, Exception & exp)
Additional error information:
A batch item failed persistence Item-ID specified OperationType MAIO_CommitBatch Status-1061151998 ErrorInfo The published message cocould not be routed because no subscribers were found ..
Exception type: PersistenceItemException
Additional error information:
Failed to publish (send) a message in the batch. this is usually because there is no one expecting to receive this message. the error was The published message cocould not be routed because no subscribers were found. with status-1061151998.
Exception type: PublishMessageException
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Investigating the cause of its error
The problem is found. From the error message above, we can see that it is because there is no subscriber of the message. Why. Originally, the SendPort in the Direct configuration process was incorrectly used during development.
I really don't want to worry about it. This can also be a mistake. (If I didn't see it at the time, I chose this option. During configuration and deployment, I didn't find a bound port missing)
Direct binding is between Orchestration. By directly binding send/receive in the process, messages are transmitted in Orchestration.
Rebind the port and solve the problem.
Self-encouragement: Eat a grain, grow a wisdom not.