Errors Running SQLMaint

Dec 18, 2010 at 9:23 AM

I am having issues running the following command: 

C:\installs\expressmaint -S RSTSVR\GROUP -D cw  -T DB -R C:\sqlbackup\reports -RU WEEKS -RV 1 -B C:\sqlbackup\data -BU DAYS -BV 7 -V -C

Invalid object name 'sys.databases'.Invalid object name 'sys.master_files'. Object reference not set to an instance of an object.

Expressmaint finished unsuccessfully at 12/18/2010 11:10:28 PM with Return Code(-4)

If I run a query on the database and run the following formatted query it works perfectly. 

backup database cw to disk = N'd:\db\cw.bak';

It's SQL Express 2005 running with Windows 2003 Std.


Any assistance would be appreciated.