On one of the production box , I am facing the below error while running the weekly maintenance job :
Msg 5030, Level 16, State 12, Server XXX , Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Server XXX , Line 1
Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.
COMMAND which is getting execute on the back end :
Command: DBCC CHECKDB ([DB Name]) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY
This error is coming for MSDB Database and couple of user databases as well . For some of the databases the maintenance job is running fine , only for few databases the error is coming.
I grantd the SQL SERVER& AGENT account full permissions in the MDF/LDF file path but this doesn't seems to be permission issue. There is no error log entry which is getting generated while the job fails.
Also the job is running on SQL 2005 Standard edition (9.0.5057) , hence manually taking snapshots is not possible.
Please help !!!!!!!!!!!