As I said, it manifested itself with the inability to assign tasks and then snowballed from there. Here are some of the logs that we captured:
Application Name : SD.IncidentManagement
Process ID : 1472
Date :7/12/2011 12:42:16 PM
Log Level :Error
Log Category :Ensemble.WorkflowTasks.AddTaskAssigment
Machine Name : SERVICEDESK
Message :
Exception at Run method with message :Server was unable to process request. ---> Error executing sql query. ---> The INSERT statement conflicted with the FOREIGN KEY constraint "FK_TaskAssignment_Task". The conflict occurred in database "ProcessManager", table "dbo.Task", column 'TaskID'.
The statement has been terminated.
Application Name : SD.IncidentManagement
Process ID : 1472
Date :7/12/2011 12:43:11 PM
Log Level :Error
Log Category :LogicBase.Core.Models.Workflow.WorkflowServices
Machine Name : SERVICEDESK
Message :
System.NullReferenceException: Object reference not set to an instance of an object.
at LogicBase.Components.ActiveDirectory.TaskListTaskSource.RemoveAssignment(String taskID, String trackingID, IData data) in c:\build\projects\MP1_KB54090\components\LogicBase.Components.ActiveDirectory\TaskListTaskSource.cs:line 202
at LogicBase.Core.AbstractEnsembleWorkflowComponent.Finish(String taskID, String workflowID, IData data, String path)
at LogicBase.Core.Models.Workflow.WorkflowServices.ReturnFromWorkflow(Object oparms)
Application Name : Ensemble2006
Process ID : 1472
Date :7/12/2011 12:42:16 PM
Log Level :Error
Log Category :WorkflowTasks
Machine Name : SERVICEDESK
Message :
[taskman service] Error adding task assignment.
[taskman service] Client Host Information:
[taskman service] IP: fe80::71f0:8191:a7b0:a51e%15
[taskman service] HostName: fe80::71f0:8191:a7b0:a51e%15
[taskman service] Browser: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4952)
[taskman service] -- error.ToString() --
[taskman service] LogicBase.Framework.DataLayer.DataLayerException: Error executing sql query. ---> System.Data.SqlClient.SqlException: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_TaskAssignment_Task". The conflict occurred in database "ProcessManager", table "dbo.Task", column 'TaskID'.
[taskman service] The statement has been terminated.
[taskman service] at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
[taskman service] at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
[taskman service] at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
[taskman service] at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
[taskman service] at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
[taskman service] at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
[taskman service] at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
[taskman service] at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
[taskman service] at LogicBase.Framework.DataLayer.DALProxy.ExecuteQueryNonQuery(DatabaseQuery query)
[taskman service] --- End of inner exception stack trace ---
[taskman service] at LogicBase.Framework.DataLayer.DALProxy.ExecuteQueryNonQuery(DatabaseQuery query)
[taskman service] at LogicBase.Ensemble.WorkflowTasks.WorkflowTasks.AddTaskAssigment(String sessionID, TaskAssignment taskAssignment)
I think what happened was that an component got corrupt somehow which threw everything into a tailspin. Even republishing the current production SD.IncidentManagement project didn't work so I rolled back to the previous one and published it, restarted the server and the system was back in business. Now the issue is that I have those incidents with no tasks so they're open and exist but I can't assign them or do anything with them. There is nothing unique in the incidents and the techs were using both advanced and simple forms and all had the same issue.