Hosting BPEL Workflow

Damir Dobric Posts

Next talks:



Follow me on Twitter: #ddobric




While hosting the BPEL type of the workflow in Workflow Foundation you may get following error:

"The requested service System.Workflow.ComponentModel.Compiler.ITypeProvider is missing."

If you would like to understand why this error accures, you should take a look on this post. If you just want to work-around this problem
use following host:

static void Main(string[] args)

using(WorkflowRuntime workflowRuntime = new WorkflowRuntime())
AutoResetEvent waitHandle = new AutoResetEvent(false);
workflowRuntime.WorkflowCompleted += ..
workflowRuntime.WorkflowTerminated += ..

TypeProvider typeProvider =
new TypeProvider(workflowRuntime);


WorkflowInstance instance =




Posted Nov 21 2007, 03:40 PM by Damir Dobric
Filed under: , is a .Net Community Blog powered by daenet GmbH.