Skip to main content
Nintex Community Menu Bar

Error appears after upgrade to 4.7: "Task error: Forms Generation publishing has failed"

  • February 24, 2022
  • 0 replies
  • 3 views
  • Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • 667 replies
 

Error appears after upgrade to 4.7: "Task error: Forms Generation publishing has failed"

kbt151473

PRODUCT
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

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

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings