none
Error 102 Error occurred in deployment step 'Activate Features' Workflow XAML failed validation RRS feed

  • Question

  • hello,

    am facing this issue when deploying workflow declarative through Visual studio

    Error      102         Error occurred in deployment step 'Activate Features': Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
    Cannot create unknown type '{wf://workflow.windows.net/default/f83ba7ee-2710-4c58-b0a1-17f6c729b624/a2922650-a0a1-433f-b4d1-1ba4ca83bfd3/$Activities}ActCode'. HTTP headers received from the server - ActivityId: 6428bb22-5a1a-412e-8940-b2b420d5be2b. NodeId: VEPM-NCDR-01. Scope: /SharePoint/default/f83ba7ee-2710-4c58-b0a1-17f6c729b624/a2922650-a0a1-433f-b4d1-1ba4ca83bfd3. Client ActivityId : 0852b3ef-55ba-4e08-b622-80dc31ce530d. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       --- End of inner exception stack trace ---
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description, Boolean overwriteXClassName, Boolean terminateDependentInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishActivity(String serviceGroupName, ActivityDescription activity, Boolean overwriteXClass, Nullable`1 terminateInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishActivity(FabricWorkflowManagementClient client, ActivityDescription activityDefinition, String serviceGroupName)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.<>c__DisplayClass5.<PublishDefinition>b__4()
       at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishDefinition(WorkflowDefinition workflowDefinition)
       at Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionStorageEventReceiver.PublishDefinition(SPItemEventProperties properties)
                                    0              0              ListPro


    any help would be appreciated!!!!

    Thanks regards, Vignesh.

    Monday, March 3, 2014 6:37 AM

All replies

  • Make sure your GUIDS for PHASES and STAGES match when going to production.

    CHeers!


    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

    Tuesday, March 4, 2014 1:44 AM
    Moderator
  • Dear Michael,

    I am currently working on a development environment. I created a simple custom activity using visual studio 2013.   I tested with workflow console application. It works fine. But when i try to add this activity in project server workflow it is not allowing me to deploy. I tried a list workflow in sharepoint and got the same error too. I would be really thankful if you can guide me to solve this problem. 


    Thanks regards, Vignesh.

    Tuesday, March 4, 2014 5:41 AM
  • I am aslo facing the same error. 

    Error 7 Error occurred in deployment step 'Activate Features': Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
    Invalid type(s) 'NorthwindCustomActivities.NorthwindSVC.Order'.
     HTTP headers received from the server - ActivityId: 9577e1b7-5ac4-424d-a195-1539a7e55b1f. NodeId: CANATSP13DEV41. Scope: /SharePoint/default/f2bd7112-36d3-459d-ada7-ab5808750416/7ac9f6a1-b5f3-43d8-856d-274b1b8a9e24. Client ActivityId : 69004207-cf3b-4851-829e-5945bc55d774. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       --- End of inner exception stack trace ---
       at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)
       at Microsoft.Workflow.Client.ActivityManager.Publish(ActivityDescription description, Boolean overwriteXClassName, Boolean terminateDependentInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishActivity(String serviceGroupName, ActivityDescription activity, Boolean overwriteXClass, Nullable`1 terminateInstances)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishActivity(FabricWorkflowManagementClient client, ActivityDescription activityDefinition, String serviceGroupName)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.<>c__DisplayClass5.<PublishDefinition>b__4()
       at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)
       at Microsoft.SharePoint.WorkflowServices.FabricWorkflowDeploymentProvider.PublishDefinition(WorkflowDefinition workflowDefinition)
       at Microsoft.SharePoint.WorkflowServices.WorkflowDefinitionStorageEventReceiver.PublishDefinition(SPItemEventProperties properties)
    0 0 AATC_POC6_Workflows

    Did anyone find a solution for this?


    Venkatesh Kadiri

    Friday, May 29, 2015 5:51 AM