Error appears after upgrade to 4.7: "Task error: Forms Generation publishing has failed"
kbt151473
PRODUCTIssue
Error appears after upgrade to 4.7: "Forms Generation publishing has failed."Symptoms
After upgrading the K2 Blackpearl environment to 4.7. and trying to deploy the workflow solution using both K2 Studio (4.7) and Visual Studio (Professional 2013), the error appeared:
"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.IO.DirectoryNotFoundException: Could not find a part of the path 'G:XXXXXXWorkflowsSolutionsXXXProjectsXXXobjDebugDeploymentCSWebsiteClientprecompile'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path)
at SourceCode.DeploymentTasks.Deployment.FormsGenerationClientEvent.Shared.GetWebDeploymentProductAddons(String projectFilePath)
at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite()
at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.HasPublishedWebsite()
at SourceCode.DeploymentTasks.FormsGeneration.ClientEventDeploymentTask.Execute()
0 Warnings(s)"
Troubleshooting Steps
This issue was caused by missing Microsoft Visual Studio 2010 Web Deployment Projects.
To resolve this, please download and install the missing component from: http://www.microsoft.com/download/en/details.aspx?id=24509