.comment-link {margin-left:.6em;}

Ben Cops

Friday, February 17, 2006

Persistence Exception + Routing Failure

Often I'll get the following error:

Exception occurred when persisting state to the database.

Exception type: PersistenceException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void Commit()
Help Link:
Additional error information:

A batch item failed persistence Item-ID 72407d67-ec02-4c88-a404-b2af5df17b15 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. Please use the Health and Activity Monitoring (HAT) tool to diagnose this situation.

HAT doesn't seem to show anything in error and its all a bit misleading.

This is usually because I have a direct messagebox send somewhere after where HAT shows the orchestration position. I'm getting the persistence error because the thing that's supposed to be subscribing to the (direct sent) message is an independent send port which hasn't had its filter set or set correctly (remember you are often setting BTS.MessageType to the schema's target namespace + "#" + the root node name). You have to set a filter on an independent send port - it won't just send everything!


  • Hello just stopped by to view your blog and to let all interested know I am offering free plumbing repair information and safety tips for California residents and all others interested. If you are not interested then please excuse us and please disregard this comment.

    For Plumbing Press Release and Free Plumbing Repair Information please feel free and stop by and read and take advantage of our blog info or viist **A-Affordableplumbing.Com** Thank you and have a great day.

    By Blogger answer-man, at 4:24 pm  

Post a Comment

<< Home