We just run into an interesting problem where starting the SQL Server Agent would start and then immediately stop. No errors were reported in the event log, but running the following via the command line returned “StartServiceCtrlDispatcher failed (error 6)“ “[[your SQL Path]]BinnSQLAGENT.EXE” -i Googling the error in question returned this forum post which contained the solution. We had reinstalled the service and the account that we were running under did not have the permissions . . .
When writing or using an implementation of IComparer.Compare(x,y) you encounter the following error message: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results It is highly likely that the code within the “Compare” statement is throwing an exception. We encountered this problem when trying to access an array out of bounds in a particular . . .