The information in this article applies to product: e-Work 6.x
Issue
A rule that invokes the BizTalk Rules Engine is called at a Rules stage. It fails and the following error is written to the Designer log:
Unable to create Rules Engine Proxy object, reason <0x80040154>. Procedure ExecuteRule call failed. Position: 152
Resolution
In certain environments (e.g. Windows XP SP2, Windows Server 2003 SP1), the e-Work rules engine proxy DLL does not get registered. To register it, run the following at a DOS prompt.
regasm eWork.BRI.RulesEngineProxy /codebase
RegAsm.exe can be found here: C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322
The proxy DLL can be found here: C:\\Program Files\\Metastorm e-Work\\Engine
The following entries will be added to the registry:
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\]
@="eWork.BRI.RulesEngineProxy.RuleEngineProxy"
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\\Implemented Categories\]
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\\Implemented Categories\\\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29\}\]
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\\InprocServer32\]
@="mscoree.dll"
"ThreadingModel"="Both"
"Class"="eWork.BRI.RulesEngineProxy.RuleEngineProxy"
"Assembly"="eWork.BRI.RulesEngineProxy, Version=6.5.0.4, Culture=neutral, PublicKeyToken=0fa3cc64eebf4c8b"
"RuntimeVersion"="v1.1.4322"
"CodeBase"="file:///C:/Program Files/Metastorm e-Work/Engine/eWork.BRI.RulesEngineProxy.DLL"
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\\InprocServer32\\6.5.0.4\]
"Class"="eWork.BRI.RulesEngineProxy.RuleEngineProxy"
"Assembly"="eWork.BRI.RulesEngineProxy, Version=6.5.0.4, Culture=neutral, PublicKeyToken=0fa3cc64eebf4c8b"
"RuntimeVersion"="v1.1.4322"
"CodeBase"="file:///C:/Program Files/Metastorm e-Work/Engine/eWork.BRI.RulesEngineProxy.DLL"
\[HKEY\_LOCAL\_MACHINE\\SOFTWARE\\Classes\\CLSID\\\{0835CA28-86CA-49BC-89C7-9CA710F5F069\}\\ProgId\]
@="eWork.BRI.RulesEngineProxy.RuleEngineProxy"