Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2003
    Location
    Atlanta
    Posts
    134

    Unanswered: Optimizations job failure

    Anyone's help is appreciated in resolving this error:

    I created a Database Maintenance plan with backup+transactionlog backup+ optimizations. The first two jobs run fine but optimizations job fails with:

    sqlmaint.exe failed [SQLSTATE 42000] ( Error 22029). The step failed.

    The user that is running all the jobs is "sysadmin" in database and member of administrator on local machine.

    I am trying to run this when the users are using the system.

    Any thoughts how I can fix this?

    Thanks
    Vinnie

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    In the Job History dialog box, check the "show details" box in the upper right corner. If you know why the job failed, you'll have a much better shot at fixing it!

    -PatP

  3. #3
    Join Date
    Jan 2003
    Location
    Atlanta
    Posts
    134
    Thanks for the suggestion. The error message I wrote down is from the steps details after checking the box on right hand corner and looking through the steps information why it failed. The step 1 gave that info
    sqlmaint.exe failed. SQLSTATE 42000 error 22029. The step failed.

    Any other thoughts?

    Thanks
    Vinnie

  4. #4
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    OK What's the second line say?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  5. #5
    Join Date
    Jan 2003
    Location
    Atlanta
    Posts
    134
    This is the second line.

    The first line was: The job Failed. The Job was invoked by User HBOCD01\VKaramc. The last step to run was step 1 (Step 1).

  6. #6
    Join Date
    May 2003
    Location
    Rochester, NY
    Posts
    135
    ...I think you've posted this subject twice. Check out the link I posted in the
    other post.

  7. #7
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Ohhh..you mean this Link

    Why don't you show us the code in one step that didn't fail, and one that did...
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  8. #8
    Join Date
    Jan 2003
    Location
    Atlanta
    Posts
    134
    Thanks for the link. Though the resolutions expressed in the link text have only 2 workarounds for my problem, I guess I can work it out.

    Vinnie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •