Setup: Error: Advantys.Workflow.Engine: Retrieving the COM class factory for component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} failed due to the following error: 80040154


#1

For WorkflowGen version 5.x only

Issue

After the install you get the following errors:

Error message in the portal:
Advantys.Workflow.Engine: Retrieving the COM class factory for component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} failed due to the following error: 80040154.

Error message in the Windows event viewer:
Controlled registration of this component failed. It has been registered directly. If you are not using partitions you can ignore this warning. If you are using partitions you may need to add support components that are required before controlled registration of this component can succeed. Check your documentation for details.C:\Windows\SysWOW64\msscript.ocx

Solutions

Case 1: MSSscriptControl component has been already registred by another app or install.

  • remove the component MSScriptControl.ScriptControl.1 from the “WorkflowGen COM+ Application”, and:
  • right click on Components
  • select New > Component
  • click Next
  • select “Import component(s) that are already registered”
  • select MSSscriptControl from the list of registered components

Case 2: Permission settings

Set the Identity of the COM component to use ‘Network Service’ and set the Identity of the Application pool also to ‘Network Service’


#2

It sounds like your service was built against ‘Any CPU’, causing you errors on 64-bit where you are using COM components. You need to build it for x86