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.

      • Related Articles

      • 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 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 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 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 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" ...