none
SharePoint Workflow 2013 Open and Edit Workflow Problem In SharePoint Designer RRS feed

  • 질문

  • Hi,

    I found a problem in my SharePoint Server after installation some OS updates on SharePoint Server 2013 (Windows 2012 R2). When I open an existing Workflow 2013, I get an error that SharePoint Designer cannot display the item press F5 to refresh. Once I press the F5 key it shows me an error dialog that Windows Workflow Foundation, Part of .Net Framework 3.0, must be installed to use this feature. And when I want to create new Workflow 2013 after opening create a workflow and selecting a title of workflow SharePoint Designer does not do any action.

    I did a bunch of works to solve the problem but I couldn't, such as:

    1. Change Workflow Manager Server
    2. Install all Updates Workflow Manager
    3. Reconfigure Workflow Manager

    I will really be grateful if you have any solution because I don't know what can I do more?

    Regards,




    2019년 8월 11일 일요일 오전 6:56

모든 응답

  • Can you send us the exact error along with the ULS logs.

    Thanks & Regards,


    sharath aluri

    2019년 8월 11일 일요일 오후 1:20
  • Dear Sharath, 

     System.ArgumentException: An item with the same key has already been added.    
     at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)    
     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)    
     at Microsoft.SharePoint.WorkflowServices.StoreWorkflowDeploymentProvider.GetActivitySignatures(DateTime lastChanged) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=9afccfd8-248d-4fb9-a01a-c8bacd6f7473|2|microsoft.office.server.native.pdb, offset=135DA)
     at Microsoft.Office.Server.Native.dll: (offset=21F8D

    Watson bucket parameters: SharePoint Server 2013, ULSException14, 044806dd "sharepoint server", 0f0011d9 "15.0.4569.0", c180aef3 "mscorlib", 04070d42 "4.7.3394.0", 5c537242 "fri feb 01 01:40:10 2019", 00000335 "00000335", 00000010 "00000010", 44395864 "argumentexception", 001d589a "ahv80"

    Exception occured in scope Microsoft.SharePoint.WorkflowServices.WorkflowDeploymentService.GetActivitySignatures. Exception=System.ArgumentException: An item with the same key has already been added.    
     at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)    
     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)    
     at Microsoft.SharePoint.WorkflowServices.StoreWorkflowDeploymentProvider.GetActivitySignatures(DateTime lastChanged)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowDeploymentServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)

    Original error: System.ArgumentException: An item with the same key has already been added.    
     at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)    
     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)    
     at Microsoft.SharePoint.WorkflowServices.StoreWorkflowDeploymentProvider.GetActivitySignatures(DateTime lastChanged)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowDeploymentServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()

    SocialRESTExceptionProcessingHandler.DoServerExceptionProcessing - SharePoint Server Exception [System.ArgumentException: An item with the same key has already been added.    
     at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)    
     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)    
     at Microsoft.SharePoint.WorkflowServices.StoreWorkflowDeploymentProvider.GetActivitySignatures(DateTime lastChanged)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowDeploymentServiceServerStub.InvokeMethod(Object target, String methodName, XmlNodeList xmlargs, ProxyContext proxyContext, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ServerStub.InvokeMethodWithMonitoredScope(Object target, String methodName, XmlNodeList args, ProxyContext proxyContext, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.InvokeMethod(Object obj, String methodName, XmlNodeList xmlargs, Boolean& isVoid)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessMethod(XmlElement xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessOne(XmlElement xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.ProcessStatements(XmlNode xe)    
     at Microsoft.SharePoint.Client.ClientMethodsProcessor.Process()]

    RequestMessage: <Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="15.0.0.0" ApplicationName=".NET Library" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009"><Actions><Method Name="GetActivitySignatures" Id="1698" ObjectPathId="1669"><Parameters><Parameter Type="DateTime">0001-01-01T00:00:00.0000000</Parameter></Parameters></Method></Actions><ObjectPaths><Method Id="1669" ParentId="1665" Name="GetWorkflowDeploymentService" /><Constructor Id="1665" TypeId="{4ccc7f0e-bf7e-4477-999c-6458a73d0039}"><Parameters><Parameter ObjectPathId="3" /></Parameters></Constructor><Identity Id="3" Name="740c6a0b-85e2-48a0-a494-e0f1759d4aa7:site:84e11514-93f6-4bf0-918c-b7daf6a90828:web:425feb5e-d82f-4fd9-8ea0-e3d647e60749" /></ObjectPaths></Request>


    2019년 9월 1일 일요일 오후 1:14
  • Do you have visual studio installed on the same machine as SharePoint Designer? Most of the times, Visual Studio is the cause of workflow not loading in designer. Try uninstalling Visual Studio and then try opening the workflows.


    Thanks


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    • 편집됨 HarshalGite 2019년 9월 1일 일요일 오후 2:02 Removed signature
    2019년 9월 1일 일요일 오후 1:44
  • No, I don't have any version of Visual Studio on this machine because this server is a production server. 
    2019년 9월 2일 월요일 오전 4:23
  • Hi,

    You have to delete SharePoint Designer Cache and then re-open the workflows..

    Try this code:

    if(Get-Process 'SPDESIGN' -ea SilentlyContinue)
    {
        Write-Host "***********************************************"
        Write-Host "`tPlease close SPD before clearing cache" -ForegroundColor Magenta
        Write-Host "***********************************************"
    }
    else{
        #
        Write-Host "Cleaning up $($env:APPDATA)\Microsoft\Web Server Extensions\Cache"
        Remove-Item "$($env:APPDATA)\Microsoft\Web Server Extensions\Cache\*" -Recurse -Force -Verbose
        invoke-item "$($env:APPDATA)\Microsoft\Web Server Extensions\Cache\"

        #
        Write-Host "Cleaning up $($env:USERPROFILE)\AppData\Local\Microsoft\WebsiteCache" 
        Remove-Item "$($env:USERPROFILE)\AppData\Local\Microsoft\WebsiteCache\*" -Recurse -Force -Verbose
        invoke-item "$($env:USERPROFILE)\AppData\Local\Microsoft\WebsiteCache\"

        ## 
        Write-Host "Cleaning up $($env:USERPROFILE)\AppData\Local\Microsoft\InfoPath\FormCache4" 
        Remove-Item "$($env:USERPROFILE)\AppData\Local\Microsoft\InfoPath\FormCache4\*" -Recurse -Force -Verbose
        invoke-item "$($env:USERPROFILE)\AppData\Local\Microsoft\InfoPath\FormCache4\"

    }

    Thanks,

    Monty

    2019년 10월 10일 목요일 오후 6:24