Self Hosting WF 4.5 services using C# expressions

If you attempt to self-host a windows workflow 4.5 service which uses C# expressions, you may see an error similar to the following:


Operation ‘XYZ|{http://tempuri.org/}IXYZ’ on service instance with identifier ’16800afc-0f50-4fef-871d-fcdc0b866704′ cannot be performed at this time. Please ensure that the operations are performed in the correct order and that the binding in use provides ordered delivery guarantees.

IIS hosts the service without any problems.

Check out the link below for additional info and steps to use compilation as a possible workaround.

https://connect.microsoft.com/VisualStudio/feedback/details/741537/cannot-self-host-a-workflow-service-using-c-expressions

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>