2010-01-26 189 views
1

我试图从Visual Studio 2005部署基本工作流程到K2 blackpearl服务器。似乎直接这样做是不受支持的,但无论我是否尝试从客户端部署到服务器,还是在服务器上的部署包中使用msbuild,我都会得到相同的错误。我正在使用的帐户在服务器上具有导出权限。在Visual Studio中部署K2 blackpearl项目

Error 1 Task Error: System.Exception: Forms Generation publishing has failed: Please ensure that if you are deploying this project that you are not attempting to do so on client. Deployment package needs to be created and run on the server in order to publish forms correctly. - System.Exception: Forms Generation publishing has failed: Please ensure that if you are deploying this project that you are not attempting to do so on client. Deployment package needs to be created and run on the server in order to publish forms correctly. at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite() at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite() at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.Execute() C:\Users\dev3\Documents\Visual Studio 2005\Projects\K2 sandbox\InformationRequest\obj\Debug\Deployment\InformationRequest.msbuild 68 6 InformationRequest

回答

0

这是在K2中使用Forms Generation时的一个众所周知的问题。

我相信它源于两种

(一)没有安装Web部署项目(http://msdn.microsoft.com/en-us/library/aa479568.aspx)

(B )别的东西*出错了,所以试着通过重新启动VS,重新生成包含此客户端事件的Activity,甚至重新创建项目,从Forms Generation反向工作。

  • 这个“别的东西”出错了,经常会让人们避免使用Forms Generation。实际上,Forms Generation所增加的价值与控制成本相比几乎没有。我建议使用ASP.NET与默认客户端事件。您可以使用少于几百行代码重新创建“表单生成”,以自动检测“流程定义”并根据类型呈现“数据”和“XML”字段,但您确实失去了字段选择的一些便利。
相关问题