Error when publishing workflow with activity: The invocation of the constructor on type XX that matches the specified binding constraints threw an exception RRS feed

  • Question

  • We are using Workflow Manager 1.0 outside of the SharePoint context. We are using Pub/Sub to publish activities and workflows that are subscribed to messages via Service Bus 1.1. When running the Workflow Manager locally on the box with Visual Studio 2013 installed, everything works great. When we try to deploy to a machine without Visual Studio we get the following message when trying to publish the Workflow that contains an activity:

    Workflow XAML failed validation due to the following errors:
    The invocation of the constructor on type 'AA.Ancillaries.Upgrades.PricingEligib
    ility.Workflows.Activity.GetFeedItemsActivity' that matches the specified bindin
    g constraints threw an exception. HTTP headers received from the server - Activi
    tyId: ddb52f69-48f7-43e4-bf99-a2f96c405c17. NodeId: 03003RWADE1087J. Scope: /Eli
    gibilityScope. Client ActivityId : 31e577d2-1a3c-4399-859e-88f775eaeab0.

    Any help or ideas would be greatly appreciated!

    Les Kinney

    Tuesday, June 30, 2015 10:56 PM


  • There were some missing assemblies in the solution apparently that needed to be copied to the C:\Program Files\Workflow Manager\1.0\Workflow\WFWebRoot\bin folder that the Activity or Workflow needed.

    Les Kinney

    • Marked as answer by Les G. Kinney Wednesday, July 1, 2015 3:35 PM
    Wednesday, July 1, 2015 3:35 PM