In this case you have three things to do:
Check the disk space where tempdb is. Since checkdb uses it to store the verification data temporarily, it probably has no more room to grow. Also check that both tempdb files are set to not have size limitation.
If the above situation is not the cause, you will probably have to do the following:
- Run this command in the database, it will estimate the space needed to execute the checkdb: Dbcc checkalloc('issuedb') with estimateonly;
- If the above command still fails, try to restore this database (without giving detach or anything, for God’s sake) on another server, based on a newer backup media. Ai tries to check again.
If nothing of the above solves, try creating another database by copying the data from it, or check with dbcc checktable('table') in each of them to see which one is in trouble.
This message, from the research I’ve done, comes with more information. You can post the complete error message (with subsequent messages), as well as the command executed by you. I also read that this type of error, when it is related to system tables, are hardly recoverable errors, so the wheels the commands, will edit your question with the results.
P.S.: In case it doesn’t come in handy, try using the Migration Wizard SQL Server even to migrate the information to a new database, or use the open-source tool SQL Database Migration Wizard to be able to migrate the data to a new database.
What operation are you trying to perform that generates this error? Add this information to the question to make it clearer.
– Marcell Alves
In case the database works with a commercial application and is not accessible due to the error. When I try to repair in sql it returns error preventing fixing.
– Wêklef