Re: Dynazip - Unable to unzip. Please help!
- From: "spdude" <sandeshmeda@xxxxxxxxx>
- Date: 29 Jun 2006 07:13:39 -0700
Ok, I fixed this. For future reference - the duzn object has the
ErrorCode property that gives you the nature of the error. In my case,
I received the UE_UNKNOWN error because dzncore.dll (that ships with
DynaZip Max) was in an incorrect location. Once I added it to
C:\Windows\system32, it worked like a charm.
Regardless that the permissions "seem to be ok" I'd strongly suspect that it
still is a write permission issue.
Co-founder, Eggheadcafe.com developer portal:
We are using Dynazip to unzip files on our server. It works perfectly
on a test box but when the same code is deployed to the production, it
chokes. It creates the unzipped file with 0 bytes. It makes me think
that is some kinda environment/system issue but am not sure what it is.
I have checked the permissions on the folder/file and it seems to be
Any help is really appreciated.
The code is as below.
CDUnZipNET duzn = new CDUnZipNET();
// Set Dynazip settings
duzn.ZIPFile = OutputDir + ZipFileName;
duzn.Filespec = FileNameInsideOfZip;
//no. of bytes offset to start unzipping
duzn.StartingOffset = 0;
duzn.StartingOffsetH = 0;
duzn.MemoryBlockSize = 1024 * 1024 * 6;
duzn.MemoryBlockSizeH = 0;
fsOUT = new System.IO.FileStream(OutputDir + "FileOUT.xml",
//Uses MemtoMem Event to stream data from ZIP file to memory
duzn.UnZipMemToMemCallback += new
//Perform the UnZIP File To Memory Streaming function
duzn.ActionDZ = CDUnZipNET.DUZACTION.UNZIP_FILETOMEM_STREAM;
//Problem with opening/creating the Output temp file so return
- Prev by Date: Re: animation in .net
- Next by Date: DataGridView (hidden info per row)
- Previous by thread: RE: Dynazip - Unable to unzip. Please help!
- Next by thread: Re: show Clock and Vertical label