Blog Stats
  • Posts - 17
  • Articles - 1
  • Comments - 7
  • Trackbacks - 22

 

RuleSetTranslationComplexityException - Scenario...

I have a large number of messages that are passed into an orchestration/ split in the incoming pipeline and then passed one by one into a Rules Engine policy. I have discovered when I am processing hundreds of instances at once I ocassionally get the following exception raised in HAT.

"Microsoft.RuleEngine.RuleSetTranslationComplexityException

Ruleset is too complex and translation cannot complete within the configured translation timeout interval."

This is because does not throttle the calls to the rules engine and the rules engine queues the inbound message and processes them in FIFO order.

The solution:

"Increase the time out in the registry for the rules engine from 1 minute -> something like 5 minutes"

regedit

My Computer/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Business Rules/3.0/

TranslationTimeout - default value "60000" (1 minute)

restart Rules Engine Service

VOLA

 


Feedback

# re: RuleSetTranslationComplexityException - Scenario...

Gravatar Hi,
I think you have to restart the host(s) and not the rules engine service. This did the trick for me. Thanks for this post by the way. 9/15/2006 10:29 PM | Peter Dol

Post a comment





 

 

 

Copyright © Nigel Parker