Talk, talk and more talk about BizTalk


I finally managed to work out why I was receiving the dreaded “PersistenceException”.  There’s not a lot of helpful information surrounding this one, you just get:

Microsoft.XLANGs.Core.PersistenceException: Exception occurred when persisting state to the database

Most of the posts I Googled for were incorrectly diagnosing it as occuring due to no subscription being set up in the Message Box.  However, this was on a late bound Send-Receive port, and the subscription appeared good in the Group Hub.

Finally, I worked it out!  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, whenever you find yourself with a “PersistenceException”, try looking for a duplicate subscription.

August 18, 2008 - Posted by | BizTalk |

1 Comment »

  1. Hi,
    I am also getting the same exception.
    But there are more then 100 subscription present. how do i find the duplicate one ?

    Thanks in Advance

    Praful Kapse

    Comment by Praful Kapse | June 10, 2014 | Reply

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: