Symptoms
We get the database error below trying to delete all workflow artifacts. Tried to delete by using K2 Management and the same thing happens:
Error
24129 A database error occurred : Procedure or function kProcDelete has too many arguments specified.
Type:
System.Exception
Source:
SourceCode.HostServerLib
Stack Trace:
at SourceCode.Workflow.Management.WorkflowManagementServer.DeleteProcessDefinition(String procFullName, Int32 version, Boolean deleteLogEntries)
at SourceCode.Forms.SP15.Artifacts.AjaxHandler.DeleteWorkflow(WorkflowManagementServer wfServer, SmartObjectClientServer server, Int32 id, String options, String siteUrl, String listId)
at SourceCode.Forms.SP15.Artifacts.AjaxHandler.DeleteWorkflows(List`1 ids)
at SourceCode.Forms.SP15.Artifacts.AjaxHandler.DeleteObjects(Dictionary`2 objects)
at SourceCode.Forms.SP15.Artifacts.AjaxHandler.ProcessRequest(HttpContext context)
Diagnoses
This is a known issue that appears to have been re-introduced in Appit 1.2. Please see the following KB article for more information: http://help.k2.com/kb001710
Resolution
This issue was addressed in the Appit 1.2 Update 3. Please contact K2 Support you are experiencing a similar issue.