Recently I have been working a lot with the BizTalk Rules Engine (BRE) that comes along with Biztalk Server 2004. Rather than the more common approach of using the BRE inside a BizTalk Orchestration passing in XML messages, I have been working with the rules engine in a pure .net scenario passing in .net objects as facts and working with a long term fact creator. This approach uses the available API to call the BRE inside .net and passes in an array of facts to be operated on. The long term fact...
Over the course of the past few weeks, I found several different ways to completely break the Business Rules Engine. The common error I received is “Failed to Load”. I received this inside the Policies, Vocabularies, and when Importing the rules from XML. The error looks something like this: So why did this happen? It seems to be caused from two reasons. Either one of the .net classes used inside the rules or vocabulary has changed (example: you are calling a method called AddCat(String)...