部署带有Code Behind的InfoPath表单作为WF中的Task Form注意事项

来源:互联网 发布:大数据时代的变革 编辑:程序博客网 时间:2024/05/22 14:28

问题描述:

根据关联的ID在Log中找到如下信息

InfoPath Forms Services        Runtime                        8gec Exception Unhandled exception when rendering form System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/Template/Features/Mingle_Feature1/Module1/SIR RSR Task Form.dll' or one of its dependencies. The system cannot find the file specified.  File name: 'file:///C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/Template/Features/MingleWF_Feature1/Module1/Mingle Task Form.dll'

备注:其中MingleWF为工作流项目的名称。

处理办法:手工拷贝Mingle Task Form.dll文件到C:/Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/FEATURES/MingleWF_Feature1/Module1,然后在VS2010中重新执行Deploy即可。