无法反序列化对象。 [英] Could not deserialize object.

查看:141
本文介绍了无法反序列化对象。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,



我创建了自定义工作流活动来创建list.It工作正常但是在我在SharePoint中打开该工作流后的第二天它显示错误无法反序列化对象。问题是什么。

如果我在汇编文件中进行更改,那么它在当天正常工作但在第二天之后相同的错误显示。请帮助我。

Hello Friends,

I had created custom workflow activity to create list.It works fine but day after i open that workflow in SharePoint it shows me error Could not deserialize object.what was the problem.
If i make changes in assembly file than it work fine for that day but after next day same error display.please help me.

推荐答案

事实证明,项目中有一些自定义工作流活动。需要在web.config文件中添加条目。对于在SharePoint 2013中工作的SharePoint 2010自定义活动,需要在authorizedTypes部分下的新子部分targetFx中定义authorizedType节点。
It turned out that there were some custom workflow activities in the projects. The entries needed to be added in the web.config file. For SharePoint 2010 custom activities to work in SharePoint 2013, the "authorizedType" node needs to be defined in a new sub-section "targetFx" under the "authorizedTypes" section.


这篇关于无法反序列化对象。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆