Deploying K2 process: Error occurred adding the feature to the farm Server was unable to process request. —> Access denied.
By peter.stilgoe
When deploying a K2 process you get the following 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, Object[] parameters)
This is normally a permission problem & you should check the following & make any changes that are required:
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 Files\Microsoft Shared\Web Server Extensions\12\Template\Features\ and \12\ISAPI 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.
You may also need to to do an iisreset.
If all of the above are present you should be able to publish your workflow without experiencing the above error.
K2 Blackpoint , Sharepoint Errors 


January 8th, 2010
