Implementing restartability checkpoints for packages

  • Hi ,

    i was working on Implementing restartability checkpoints for packages so that if the package failed

    the package can start from the point it failed when its executed next time After the problem was corrected ,it would use the checkpoints and restart from the point of failure ,

    now i have set the "savecheckpointproperty" to "true" (in the properties window in control flow)

    in the "checkpointfilename" i provided a path and file name to a checkpointfile,

    iv set the "checkpointusage" to "Ifexists" and iv set "failpackageonfailure" to true

    now the job ran on SQL agent and job failed ,

    it threw the following error

    "Failed during creation due to error 0x80070005 "access denied"

    i think what it was trying to address was , it hade troubles creating the checkpoint file ,

    or Something else

    please give me some suggestions

    thanks

  • Does the account that SQL Server Agent runs under has the necessary rights to access the folder where your checkpoint file is stored?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • how would i know if the agent has the acess to the folder path ?

  • First verify which service account SQL Server Agent uses (in SQL Server Configuration Manager)

    Then go to the folder and make sure the appropriate rights are set.

    For more information, see:

    http://msdn.microsoft.com/en-us/library/ms191543(v=SQL.90).aspx

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • i actually have created a new credential and created a new proxy so that the sql agent can use that proxy ... but i cant understand how to use that proxy to point to the folder whare the check points will be saved ?

  • When you create a job, you can specify the proxy in the jobstep.

    For more information, see:

    http://www.mssqltips.com/tip.asp?tip=1199

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • works great thanks

    regards

    greg

  • koolme_85 (1/6/2011)


    works great thanks

    regards

    greg

    No problem. Glad that it worked out.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 8 posts - 1 through 7 (of 7 total)

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