• vignesh.ms (4/21/2015)


    Hi There,

    I have SSIS project with me, I can run as it is. But, when I try to edit the script task;

    shows an error : The name 'zipfile' does not exist in the current context

    with out edit it works fine

    Error code:

    ZipFile.CreateFromDirectory(startPath, zipPath, CompressionLevel.Fastest,true);

    How I can solve it ?

    Seriously? You quote one line of code out of your script task and expect us to somehow intuit the details in the rest of the code and hence the reason for the error. I'm sure that you've Googled the error (correct?) – what did you try?

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.