Friday 18 July 2014

SharePoint 2013: Could not deserialize object. The type could not be resolved

Solution:
I opens  web.config  file and checked "authorizedTypes" section. I added "targetFxversion" it worked for me.
<authorizedTypes>
<targetFxversion="v4.0">

<authorizedTypeAssembly="Microsoft.Office.Access.Server.Application, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"Namespace="Microsoft.Office.Access.Server.Macro.Runtime"TypeName="*"Authorized="True"/>
<authorizedTypeAssembly="Microsoft.Office.Access.Server.Application, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"Namespace="Microsoft.Office.Access.Server.Quickflow.Runtime"TypeName="*"Authorized="True"/>
<authorizedTypeAssembly="Microsoft.Office.Workflow.Actions, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"Namespace="Microsoft.Office.Workflow.Actions"TypeName="*"Authorized="True"/><authorizedTypeAssembly="okcgov.sharepoint.SPD_CustomActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=40f4122b4978c8c3"Namespace="okcgov.sharepoint"TypeName="*"Authorized="True"/>
<authorizedTypeAssembly="SPS13.WF.Activity.SendEmail, Version=1.0.0.0, Culture=neutral, PublicKeyToken=02d3096cc71afc8f"Namespace="SharePointStuff"TypeName="*"Authorized="True"/><authorizedTypeAssembly="SPS.WF.Activity.SendEmailWithAttachment, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a5c19fd94bc5ec88"Namespace="SharePointStuff"TypeName="*"Authorized="True"/>

</targetFx>
</authorizedTypes>