locked
Register-SPWorkflowService throws weird error Method not found RRS feed

  • Question

  • Hi,

    checked that WF Farm status is ok, SB Farm status also ok. Then tried to register WF service with this weird error:

    PS C:\Users\_user_prjsrv2013> Register-SPWorkflowService -SPSite "https://serverAliasFQDN/pwa" -WorkflowHostUri "https://serverMachineNameFQDN:12290" -ScopeName "WorkFlow" -AllowOAuthHttp -Force WARNING: Overwriting existing scope named "WorkFlow" in the workflow server. If another SharePoint farm was registered using this scope, that farmmay not be able to continue working with the workflow server unless re-registered under another scope name. Register-SPWorkflowService : Method not found: 'VoidMicrosoft.SharePoint.WorkflowServices.WorkflowServiceHelper.EnsureActivityAssembliesIsCorrect()'. At line:1 char:1 + Register-SPWorkflowService -SPSite "https://serverAliasFQDN/pwa" -WorkflowHos ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService:RegisterSPWorkflowService) [Register-SPWorkflowService], MissingMethod Exception + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService PS C:\Users\_user_prjsrv2013> ULS Logs: System.MissingMethodException: Method not found: 'Void Microsoft.SharePoint.WorkflowServices.WorkflowServiceHelper.EnsureActivityAssembliesIsCorrect()'. at Microsoft.SharePoint.WorkflowServices.StoreWorkflowDeploymentProvider.EnsureActivityAssembliesIsCorrect() at Microsoft.SharePoint.WorkflowServices.WorkflowServerPairingContext.UploadActivityLibrary() at Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService.InternalProcessRecord() at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() Error Category: InvalidData Target Object Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService Details NULL RecommendedAction NULL

    No clue where can I start looking to troubleshoot this issue.

    Any help is appreciated,

    Thanks!


    • Edited by Ximet Sunday, May 8, 2016 10:34 AM
    Sunday, May 8, 2016 10:31 AM

All replies

  • Looks like you have already registered workflow service as "Workflow" . Trying changing the name



    Hrishi Deshpande, Project MVP

        

    Friday, June 24, 2016 2:00 PM
  • Hi,

    Please check. The issue is that SharePoint 2013 was installed on Windows Server 2012 R2.

    Hope this help.


    Amjad Khan

    Saturday, June 25, 2016 2:37 PM