SQL Maintenance plan failing

Our maintenance plan is failing.  The error is:

Executed as user: NT AUTHORITY\SYSTEM. sqlmaint.exe failed. [SQLSTATE 42000] (Error 22029).  The step failed.

How can this be resolved?

Our script is as follows:

EXECUTE master.dbo.xp_sqlmaint N'-PlanID 87B2B5E0-5886-4737-948C-2660F58BF8A7 -Rpt "l:\mssql\MSSQL\LOG\Update Statistics - All DB - Weekly0.txt" -DelTxtRpt 4WEEKS -WriteHistory  -RebldIdx 10 '
LVL 1
jpipitoneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott PletcherSenior DBACommented:
Look at the "Maintenance Plan History" instead of the job output.  That should give you a better indication of the problem.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SireesCommented:
Also look at the logs...
0
jpipitoneAuthor Commented:
Here's the error I found when looking at Maintenance Plan History - one of our databases Conferences is read only....this would explain why our plan is failing....I'll have to check with our development team to see why they're locking this db down.

Thanks!

[Microsoft SQL-DMO (ODBC SQLState: 25000)] Error 3906: [Microsoft][ODBC SQL Server Driver][SQL Server]Could not run BEGIN TRANSACTION in database 'Conferences' because the database is read-only.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.