While running in debug mode an SSIS package I get the folowing error. "file ... does not exist ...", but the file is created by a task earlier in the process, so most probably it will exist at runtime but not at validation. How to deal with this ?

Package Validation Error

Error at Send Zip file [Send Mail Task]: Either the file "..." does not exist or you do not have permissions to access the file.

Error at Send Zip file: There were errors during task validation.




1 Answer 1


Pls make sure you have tried the solutions below

  • Set DelayValidation property set to True for the Send Mail Task.
  • Close the filestream of the log file before sending the email
  • 1
    Thanks a lot, it worked with first option, DelayValidation = True on Send Mail Task. Dec 11, 2014 at 9:28
  • @user3752281 awesome !! :)
    – Heisenberg
    Dec 11, 2014 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.