Deployment Error: System.Exception: Error occurred adding the feature to the farm.

  • 10 April 2012
  • 4 replies
  • 1 view

Badge +2


Dear,


We have created msbuild package, it is working fine in the development environment we tried the same package in Test Environment and got the following error. Any idea, 


 


K2 Workflow Integration Process Deployment:  


------ Task Started: K2 Workflow Integration With SharePoint ------  


Retrieving event data  Executing ...  Task Error: System.Exception: Error occurred adding the feature to the farm.


  ---> System.Exception: The forms could not be published successfully to the server. Please review logger details for more information. 


     at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.ConfigureASPX.BuildASPXStartForms(IntegrationObject integration)     at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.ConfigureEvent.BuildStartForms(IntegrationObject integration)     at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.ConfigureEvent.AddFeature(IntegrationObject integration)     at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.Execute(IntegrationObject integration, Boolean testMode, Boolean createDependancies)     --- End of inner exception stack trace ---    at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationService.Execute(IntegrationObject integration, Boolean testMode, Boolean createDependancies)    at SourceCode.DeploymentTasks.SharePoint.WorkflowIntegration.WorkflowIntegrationTask.Execute()



 


4 replies

Badge +10

Does the K2Service account site collection administrator rights?

Badge +10

Hi,


Another thing to check is whether the WebDeploymentProjects component is installed on the SharePoint Server(s).


Because you are using auto-generated forms the WebDeploymentProjects component is required on the Web Front Ends to build the generated web site.


Let us know if you could get it working.

Badge +3

I have same issue.


Did you ever found a solution?


 

Userlevel 5
Badge +18

Is the web deployment projects 2008 installed?

Reply