Error Message: ZIP Task:size was 0, but I expected 25500

Error Message: ZIP Task: size was 0, but I expected 25500

Action:
When I run a package including the ZIP Task Component, I get the following error:
Error Message:
[Zip Task] Error: An error occurred with the following error message: "size was 0, but I expected 25500".
Solution:

A possible reason for this error is that the ZIP Task was trying to zip a folder with an open spreadsheet. Excel 365 locks spreadsheets when they are open. To solve the issue please close all opened files/spreadsheets and then run the package again.


Other possible reasons for the error could be:
-  Collision could be happening if a previous zip task is still executing while another zip task starts zipping to same file
-  if zip of directory is writing to file in its own directory



    • Related Articles

    • Error Message: "Zip Task: Invalid source"

      Action: When executing a package, that includes Zip Task component and I am using a variable to specify the source each time through the enumeration inside of a Foreach loop, I get the following error:  Error Message: "Zip Task: Invalid source" ...
    • Error Message: Zip Task: "Length is zero Parameter name: seed"

       Action: When executing a package that includes Zip Task Component I get the following error message: Error Message:  "Length is zero Parameter name: seed" Solution:                          The reason for this error is that option ...
    • Error Message: Microsoft.ACE.OLEDB.12.0 is not registered.

      Action: We have packages that use COZYROC EXCEL Task and we are getting the following error message. Error Message:  Error Message: Microsoft.ACE.OLEDB.12.0 is not registered. Solutions: COZYROC Excel connector is not using Microsoft’s modules, so ...
    • Does COZYROC's Zip Task support the 7z compression format?

      No, the Zip Task does not support the 7z compression format.
    • Where can I find the documentation for the Zip Task?

      You can find documentation related to all the COZYROC SSIS+ Component Suite components from the main products page.  Specific documentation for the Zip Task can be found at the following link.  For many of the components you can find resources like ...