Exception when save workflow.

Vote:
 

Hi,

 

I have this exception when save a workflow definition. I thought it was my DB but even after I restore my DB from a backup, the exception does not go away.

Can anyone please help.

 

To serialize an object the object has to have a schema (or inherits from IDictionary or IList) for type:System.Collections.Generic.List`1[[EPiServer.WorkflowFoundation.Workflows.ApproverItem, EPiServer.WorkflowFoundation, Version=6.1.379.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 for base type:EPiServer.WorkflowFoundation.CompiledWorkflowDefinition, EPiServer.WorkflowFoundation, Version=6.1.379.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7

 

Best regards,

 

Nguyen

#52940
Aug 22, 2011 6:42
Vote:
 

Do you have any custom workflow?

#52941
Aug 22, 2011 8:28
Vote:
 

ApproverItem is used in the approval workflows. Make sure your episerver.config contains an entry for Approval Service as example below:

<episerver>

<workflowSettings>

...

<externalServices>

<externalService type="EPiServer.WorkflowFoundation.Workflows.ApprovalService,EPiServer.WorkflowFoundation"/>

</externalServices>

</workflowSettings>

#52942
Aug 22, 2011 10:23
Vote:
 

Hi

I have the same error, tried to add the ReadyForTranslation workflow described in the admin manual(im using .net 4 not 2 described in the case above)

To serialize an object the object has to have a schema (or inherits from IDictionary or IList) for type:System.Collections.Generic.List`1[[EPiServer.WorkflowFoundation.Workflows.TranslationItem, EPiServer.WorkflowFoundation, Version=6.1.379.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 for base type:EPiServer.WorkflowFoundation.CompiledWorkflowDefinition, EPiServer.WorkflowFoundation, Version=6.1.379.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7

Tried to add the service setting, didnt work

#54839
Nov 06, 2011 20:43
Vote:
 

The externalService-seting solved the problem for us. Thank you!

#56326
Jan 17, 2012 20:47
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.