I am using MS SQL Server 2008 R2. I'm trying to shrink the log file and then the data file of one of my DBs. Virtually every time I try, I get an error about the lock timeout period exceeded. The DB is used by our website. Is there anything that can be done to avoid getting this error?
↧