DBCC CHECK cannot proceed on database %1!s! because it is a Secondary Replica and either Snapshot creation failed or the ...

DBCC CHECK cannot proceed on database %1!s! because it is a Secondary Replica and either Snapshot creation failed or the WITH TABLOCK option was specified. Secondary Replica databases cannot be exclusively locked for DBCC CHECK. Reason may have been given in previous error.