SharePoint Designer 2010 工作流错误:无法反序列化对象。无法解析类型
在开发环境中,我在 SharePoint Designer 中创建了 SharePoint 工作流。此工作流使用在 Visual Studio 中创建的自定义活动。 在生产环境中部署 Web(导入-SPWeb 导出-SPWeb)后,我在尝试在 Designer 中打开工作流程时遇到错误。
Could not deserialize object. The type 'MyTypeHere' could not be resolved.
我尝试重新安装解决方案并清除应用程序数据中的 SharePoint Designer 缓存。在工作流的 xoml 中,我使用自定义活动指定程序集的正确完整命名空间,并且该程序集存在于 GAC 中。
In development environment I have SharePoint Workflow created in SharePoint Designer. This workflow using custom activity created in Visual Studio.
After deployment web (Import-SPWeb Export-SPWeb) in production i've got error when tring to open my worklow within Designer.
Could not deserialize object. The type 'MyTypeHere' could not be resolved.
I've trying to reinstall solution and clear SharePoint Designer cache in application data. In workflow's xoml i specify right full namespace of my assembly with custom activity and this assembly exist in GAC.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题解决了。我不知道怎么做,但现在工作正常。 100% 服务器未重新启动。可能是因为农场配置和 web.configs。使用功能激活来确保您控制 .config 文件。
Problem solved. I could not figure out how, but works fine now. 100% server was not restarted. May be it is because farm configuration and web.configs. Use feature activation to be sure that you control .config files.