The step was retried the requested number of times (5) without succeeding.

  • We have one schedule job which is copying the backup to the offsite server through xcopy. This job successfully run for 4-5 days in a week and failed for 1-2 days due to following error.

    Executed as user: service_Account. The step was retried the requested number of times (5) without succeeding. The step failed.

    Sharing violation.

    Any help would be greatly appreciate!

  • Was the backup it was trying to copy actually finished?  If it wasn't, there's your "sharing violation".

    If you try to rename a file to what the current name is and it's successful, then nothing else is using the file (and it doesn't change the name to something else because you're using the same name).

    If the rename is unsuccessful, the something else is using the file (like a backup not being done yet) and you simply have to wait until it frees up.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • This was removed by the editor as SPAM

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply