Skip to main content

I am trying to deploy a simple workflow, but am getting this error:


Task Error: System.Exception: Error occurred adding the feature to the farm. ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Access denied.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Objectj] parameters)
   at SourceCode.SharePoint.WebServices.K2SPFeatures.AddWorkflowFeature(String featureTitle, String description, Boolean isDefaultForms, K2SPStartForms startForms, K2SPTaskForms] taskForms, K2SPModificationFormo] modForms)
   at SourceCode.Workflow.SharePoint.Common.Features.AddWorkflowFeature(String featureTitle, Boolean isDefaultForms, String FeatureDescription, K2SPStartForms startForms, List`1 taskForms, List`1 modForms, CredentialCache CredCache)
   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()


 


Any idea what's going on?

Sounds like a permissions error, you could try the following:



  1. Check that the MOSS app pool account has Site Collection and Farm Admin Rights and is also a local administrator.
  2. Check that the MOSS app pool account is given dbo permission on the SP Admin Config database.
  3. Check that the MOSS app pool account is granted modify permissions: [Program Files]Common FilesMicrosoft SharedWeb Server Extensions12TemplateFeatures and 12ISAPI folders.
  4. Make sure the MOSS app pool account is given K2 export rights.
  5. Make sure the "K2 Workflow Integration Content Types" in Central Admin > K2 for SharePoint has been activated.

All of those settings were correct. However, an iisreset seemed to take care of the problem. Thanks.


Reply