Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association d...

解决方案:

1.在Visual studio solution explorer 中WorkFlow上右键->属性。.设置【Auto Associate】=false.重新部署项目,应该可以工作了. :) 在这种情况下,我们没有自动关联workflow的【history list】以及【task list】用户将手动指定这些关联。 2. 如果你仍让希望workflow自动做这些关联而不需要手动关联,你需要进行一下步骤:

 - 在 Visual studio solution explorer, 在workflow上面右击,点击【Properties】在History List 点击按钮【...】.如下图:

       

- 在弹出窗口中指定 workflow的名字.如下图:

         

-  On the Next screen, check the checkbox which says "Yes, associate this workflow with the following libraries and lists. if this step is ommitted, you must manually associate the workflow after it is created." The history list  dropdown and task list dropdown will contain all the lists those are available for association. Keep the default ones or choose the one you wish to.  Click on finish. :

         

- Now you will see the History List and Task list are associated with the workflow. :

         

- 现在重新部署您的项目,应该不会出现此问题了。

 

 source url:http://blogs.msdn.com/b/exploring_technology_/archive/2011/10/19/error-occurred-in-deployment-step-activate-features-unable-to-locate-the-workflow-s-association-data.aspx

转载于:https://www.cnblogs.com/netwenchao/archive/2012/04/13/2445601.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值