This project is read-only.

Problem with zip on Windows Server 2003

Sep 15, 2011 at 11:44 AM

Hi I am using dotnetzip library to zip a bunch of files and folders(~80MB) on Windows Server2003. But my program does not give me error messages at all, instead he is stuck in following code:

                        zip.AddDirectory(source, temp); // recurses subdirectories

Same program(code) works perfectly on Windows 7. What coulb be wrong here?

Sep 15, 2011 at 2:09 PM

It could be a very large directory.

It could be a directory with a loop in the filesystem, a junction that points to its containing directory for example.

Lots of possibilities.

you'll need to diagnose further.  you could start by using an AddProgress callback. 

Sep 16, 2011 at 7:39 PM

I think I have the same problem, please try with the same files in w7 machine that you compress in the w2k3 server, and see what happen in the addprogress event. i supose that you´ll have the same problem. it no depens of the operative system. when the problem happen(if it happens in the way that i tell you), please stop the depurator and chage the extension of the temp file to zip, and look up into the zip for files with 0 size that you know have another size.