There is no context attached to the incoming message for the service and the current operation is not marked with “CanCreateInstance = true”.

Posted: April 2, 2012 in WF4.0
Tags: ,

There is no context attached to the incoming message for the service and the current operation is not marked with “CanCreateInstance = true”.In order to communicate with this service check whether the incoming binding supports the context protocol and has a valid context initialized

If you run into exception,it clearly says current operation is not marked with CanCreateInstance = true,it means the first receive activity in the workflow is supposed to have CanCreateInstance = true property set,otherwise the workflow cannot activate.Hope this tip helps 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s