Skip to main content

Hi


I am getting the following error when attempting to deploy a workflow from the K2 Designer for SharePoint:


Notification Service: Task Error: System.Exception: SourceCode.Hosting.Exceptions.AuthenticationException: Authentication With Server Failed : SEC_E_LOGON_DENIED


Server stack trace:
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.WindowsAuthentication(SCConnectionStringBuilder connectionStringBuilder)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Authenticate(String connectionString)
   at SourceCode.Hosting.Client.BaseAPI.LocalBaseAPIConnection.OnOpen(SCConnectionStringBuilder connectionStringBuilder)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnectionBroker.OnOpen(SCConnectionStringBuilder connectionStringBuilder)
   at SourceCode.Hosting.Client.BaseAPI.BaseAPIConnection.Open(String connectionString)
   at SourceCode.EventBus.EventAdmin.Admin.addEventToCategory(String eventID, String eventName, String categoryConnectionString, Int32 worklistNotificationCategoryID)
   at SourceCode.EventBus.EventAdmin.Admin.UpdateCustomEventWithMappings(String connection, CustomEvent customEvent, String user)
   at System.Runtime.Remoting.Messaging.Message.Dispatch(Object target)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)


The workflow includes steps that notify users when tasks are assigned to them, and also has Send Email tasks.


Any ideas?


Thanks
Simon

Simon, try to deploy the workflow as a K2 service account. Did you check if the account has admin rights and publish rights in the workspace.


Thanks Sujeeth, that pointed me in the right direction. It turned out the SPN had been incorrectly set for the K2 Service Account.


Reply