StaticSupportEntriesForBusinessRul esEngine

Execute Static Method with BizTalk Business Rules Engine

By default, the rule engine requires you to assert an instance of a .NET class to execute a policy that invokes a static member of the .NET class

If you do not see the StaticSupport registry key under HKEY_LOCAL_MACHINE\Software\Microsoft\BusinessRules\3.0, you should add it by performing the following steps.

  • To add the StaticSupport registry key
  • Click Start, click Run, type RegEdit, and then click OK.
  • Expand HKEY_LOCAL_MACHINE, expand Software, expand Microsoft, expand BusinessRules, and then select 3.0.
  • In the right pane, right-click, point to New, and then click DWORD value.
  • For Name, type StaticSupport

Another option is to put StaticSupport in the BTNTsvc[64].exe.config file, as any settings here override what's in the Registry. Further, one can also make the argument that this option is preferred since it isolates the change in default behavior to BizTalk only, whereas Registry settings are global to the Operating System.

<configuration>

<configSections>

<section name="Microsoft.RuleEngine" type="System.Configuration.SingleTagSectionHandler" />

</configSections>

<Microsoft.RuleEngine

UpdateServiceHost="localhost"

UpdateServicePort="3132"

UpdateServiceName="RemoteUpdateService"

CacheEntries="32"

CacheTimeout="3600"

PollingInterval="60"

TranslationTimeout="3600"

CachePruneInterval="60"

DatabaseServer="(localhost)"

DatabaseName="BizTalkRuleEngineDb"

SqlTimeout="-1"

StaticSupport="1"

/>

</configuration>

And if you choose to add the configuration in the config file, dont forget to also add this configuration in the configuration file of the Business Rule Composer (located in : C:\Program Files (x86)\Common Files\Microsoft BizTalk\Microsoft.RuleComposer.exe.config)

February 17th, 2014 7:51pm

So, do you have a question?>
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2014 8:56pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics