Sql-server – How to run DBCC CHECKDB when you cannot connect to database

dbccsql server

It appears that I have some file system issue that is preventing me from connecting to MS SQL Express 2008 R2 on my local machine. I receive this message when trying to connect:

enter image description here

Looking over the DBCC CHECKDB reference, it does not appear that I can run this command without being connected to the database. Any ideas of how to proceed?

Best Answer

I would take a look at some of the links on google for repairing a corrupt master database.