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



    Book a Presales Call


    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now and get 5% off SSIS+.
      • 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 ...
      • How to upload an Excel file to Google Drive as a Google Spreadsheet

        In order to upload an Excel file to Google Drive as Google Spreadsheet you need to: Create a project in Visual Studio. To establish a Connection Manager to Google Drive, you need to use a Google Drive Connection (see Quick Start >> Establish ...
      • Data Flow Task Plus editor doesn't open

        Action: When I click twice on Data Flow Task Plus Component I get the following error: Error: Data Flow Task Plus' Editor doesn't open and instead of the I get the control flow tab. Solution: To solve the issue you should complete the steps below: ...
      • 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 ...