Friday, January 28, 2011

GhostCleanupTask & Exception Error 1222

If you experience Exception Error 1222 Severity 16 State 18 with the SPID being less than 50 and the LoginName shows 'sa', then these may be generated by the GhostCleanupTask.

To verify if indeed the GhostCleanupTask is the cause, try add the EventClasses 'Exception', 'Lock:Timout' and 'SQLTransaction' as well as filter on the LoginName 'sa' in SQL Server Profiler.

As mentioned in this link the below will stop these errors:


To re-enable the GhostCleanupTask use:


1 comment:

  1. Hi,

    I am experiencing the same error with spid <50. But DBCC TRACEON (661,-1) didn't help.
    Any suggestions please?