Geeks With Blogs
BizTalk SOA Evangelist BizTalk EDI MOSS VSTS SSAS and SSRS

Received the dreaded error again and again while BizTalk Orchestration tried to persist the state into database. Struggled quite a bit. I was using Dynamic bindindg and partner orchestration port was set to "messagebox". I was using this to send the Custom Exceptions to BizTalk which were already subscribed to "Send Error" port so there was no problem in subscription.

Solution: Finally, It look of lot of time to figure out the problem. It was being caused due to a duplicate subscription in the Message Box. I had another Orchestration that was direct bound on the same Message Type that I was trying to send via the Send Port. Somehow, this causes BizTalk to get in a huff, but not really give any worthwhile error information. So if you are getting the same error and not finding any solution try to look at the above suggesstion.

Below is the excerpt of the exception : --

Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Service Name '.

Exception thrown from: segment 4, progress 8 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 stopCond, Exception& exp)

Additional error information: A batch item failed persistence Item-ID 9f70604b-32b3-48ca-80e3-12a718fb0315 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could 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 could not be routed because no subscribers were found. with status -1061151998. Exception type: PublishMessageException

Posted on Monday, December 7, 2009 9:01 PM | Back to top

Copyright © BizTalkSOA | Powered by: GeeksWithBlogs.net