BizTalk - BizTalk Accelerator for SWIFT - BRE Validation policy error

Asked By Denis Podorozhkin
02-Oct-09 09:34 AM
Good day.
I'm trying to complete Microsoft BizTalk 2009 Accelerator for SWIFT End-To-End Tutorial (http://msdn.microsoft.com/en-us/library/ee350595%28BTS.10%29.aspx).  One of the components that are built in this tutorial is a custom pipeline with SWIFT Disassembler which uses BRE Validation. Business rules containing validation policy  are deployed using SWIFT BRE Deployment utility. From the first sight  everything seems to be OK - business rules corresponding to the schemas used in the tutorial are successfully deployed and can be seen in Business Rules Composer. Rule Engine Update Service is running (and was restarted after the rules were deployed) on behalf of account which is member of BizTalk Application Users and BizTalk Server Administrators, there is only one instance of Rule Store (BizTalkRuleEngineDb) and both BRE Composer and BizTalk itself are pointing to it. Nevertheless when I'm trying to process sample MT103 message I'm getting the following error:

Event Type:    Warning
Event Source:    BizTalk Accelerator for SWIFT
Event Category:    None
Event ID:    4099
Date:        10/2/2009
Time:        4:49:53 PM
User:        N/A
Computer:    ComputerName
Description:
Unable to retrieve or an unexpected error occurred while executing BRE validation policy. If this is unexpected, confirm that the policy has been deployed and try again. Error:
Server stack trace:
   at Microsoft.RuleEngine.RemoteUpdateService.RemoteUpdateService.GetLatest(String ruleSetName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.RuleEngine.IRuleEngineUpdateServiceInterface.GetLatest(String ruleSetName)
   at Microsoft.RuleEngine.RemoteUpdateService.RemoteUpdateServiceProxy.GetLatest(String ruleSetName)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [1]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.RuleEngine.RemoteUpdateService.RemoteUpdateServiceProxy.GetLatest(String ruleSetName)
   at Microsoft.RuleEngine.RuleEngineCache.Allocate(String rulesetName, TrackingConfiguration& trackingConfig)
   at Microsoft.RuleEngine.Policy..ctor(String policyName)
   at Microsoft.Solutions.FinancialServices.SWIFT.BreValidator.BreValidator.Validate(String messageType, XmlDocument messageDocument, XmlDocument headerDocument, Boolean bSupressMissingPolicyWarnings)


The same warning appears if I manually remove all SWIFT policies. So BizTalk just unable to find the necessary policy. The problem is also in that there is no information about the exact name of missing policy in the error report so that I could manually check whether it is in the store.

Any suggestions?

Thanks in advance.

Hmm..  Hmm..

02-Oct-09 12:30 PM
Yes, it is tough to figure out without the policy name, and this is the first time i see the policy name being missed from the stack trace. 

Nevertheless, a search on Knowledge base articles revealed this to me. You should take a look.
  suresh replied to Denis Podorozhkin
23-Nov-10 05:42 AM
configure message pack (2008 or 2009),then it will have resolve mostly.
Create New Account
help
XLANGMessage (message needed by ExecuteReceivePipeline method) Can anyone suggest how to overcome this. Thanks, Nanabala BizTalk Discussions XLANGPipelineManager.ExecuteReceivePipeline (1) XLANGMessage (1) IBaseMessage (1) Database (1) ReceivePipelineType (1) XmlDocument (1) XmlReceive http: / / www.winterdom.com / weblog / Thanks for the response! The scenario: I am using A4Swift Disassembler pipeline component to convert flat files (coming from external source) to swift specific XML messages (this pipeline component does a bunch of other stuff) which is all flat text message (by using in the physical receive port) then call the pipeline containing Swift disassembler to get the XML representation. This will help me have both the raw message and the same data in Swift XML format which will help me in logging things in a better way. ISSUE here is being able to invoke pipeline with Swift component from my custom component. 2) I tried getting the raw message into an orchestration (using String as message type) so that I can invoke the swift receive pipeline from within orchestration and do my logging. ISSUE with that is, I am
Compile BizTalk project without BizTalk server Windows Server Hi, Is there a way to compile BizTalk projects without having BizTalk installed on current machine? regards, BizTalk Discussions BizTalk (1) VS (1) MuruganYou (1) NET (1) GAC (1) XUEZHAIN (1) XUEZHAI (1) ONLINE (1 But how do you test this project? You have to Deploy it (tranfer to the BizTalk Management DB). then start in the host (which is represented now only by BizTalk service group). I mean, maybe it is possible to get the assembly with the BizTalk
BizTalk Experts : OnDemand Resources Boston Based Windows Server Are you looking for premier BizTalk experts 100% US Based? We have deployed solutions for BizTalk 2006 R2, BizTalk 2006, BizTalk 2004, BizTalk 2002 that we currently support. We not only offer full development lifecycle but 100% 24x7 617)504-7301 Ionia Corporation http: / / www.IoniaSolutions.com Building your information pipelines – Ionia BizTalk Discussions BizTalk (1) OnDemand (1) JGaska (1) Boston (1) Gaska (1) Ionia (1) Lifecycle (1) Halthcare (1