Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Biztalk error: Exception occurred when persisting state to the database

Tags:

biztalk

I am attempting to insert XML message into Biztalk message box database and I am getting the error

Exception occurred when persisting state to the database.

I have an orchestration which needs to read this message from the message box. I have applied appropriate filter in receive port of the orchestration. Also the filter criteria is matched with the xml which I am trying to insert.

Can anybody throw some light on this problem?

like image 676
Ankur Avatar asked Oct 14 '25 04:10

Ankur


2 Answers

I have resolved the problem. The orchestration which reads the inserted message from message box doesn't have the direct port and so when I try to insert a message in message box it doesn't find the subscriber of that message.

I have made the orchestration port as direct port and problem got resolved.

like image 130
Ankur Avatar answered Oct 17 '25 19:10

Ankur


Check if you have duplicate subscriptions in your Message Box. This is one of those errors that can happen for a number of reasons, but this is the first thing I will investigate when I encounter it.

Here's a blog post I wrote about this situation a while ago.

To check your active subscriptions, use BizTalk Administration Console, and on the 'New Query' tab, change the 'Search for' drop-down to 'Subscriptions'

like image 32
Brett Avatar answered Oct 17 '25 20:10

Brett



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!