September 4, 2013

Unable to load workflow actions from server SharePoint Designer 2010

Problem:

When trying to open any workflow in SharePoint Designer, Error gets fired like:

Unable to load workflow actions from the server….

While checking ULS logs, below exception was found:

SOAP 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
System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at
Microsoft.SharePoint.SoapServer.WebPartPagesWebService.GetWorkflowActionsFromFeatureElements(UInt32 currentLcid) at
Microsoft.SharePoint.SoapServer.WebPartPagesWebService.FetchLegalWorkflowActions()

Looking to exception details it becomes clear that this error is something related with duplication.

Solution:

Check Farm Level Solutions:
Browse to Central administration ->Click System Settings ->Click Manage Farm Solutions.

Then,

Check Site Collection Level Solutions:
Browse to Site collection ->Click Site Actions ->Site Settings ->Solutions (under Gallery).

Put both of the browser windows side-by-side and see if you have anything activated at both scopes, means there is any solution which is deployed at farm level and the same solution is also uploaded and activated to solutions gallery at site collection level. If you find this, deactivating the particular solution at site collection level should do the trick to open workflows in SharePoint Designer.


If you have any questions you can reach out our SharePoint Consulting team here.

No comments:

Post a Comment