Error: 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, Boole
Cause: One of the cause is when we have direct send port in orchestrations, and no subscriptions are listening to it. The message will be sent to message box and message will be suspended routing error. The issue comes when orchestration engine try to save the persistence point just after the send shape. As the subscriptions, are not available its throw an exception as “Exception occurred when persisting state to the database”
Solution: Have subscription for all message especially when we have direct port.
