File processing error,possibly disk is full.

Joined
Mar 30, 2009
Messages
3
Reaction score
0
Hi all,

I am getting the following error "offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of source collection. File processing error,possibly disk is full" in my stand alone c#.net multi threaded windows application.

Basically my application downloads txtfiles, voice files in zip format and unzip it then does some bla bla thing then uploads back to file server. It was working fine from many months, but suddenly giving the above said error.
I could not able to find where exactly the error coming...

Plz suggest me any clues / solutions.

Thanks
Dev
 
Joined
Mar 30, 2009
Messages
3
Reaction score
0
Hi,

I found that it is happening while unzipping the zip file of 2MB. I use Zipforge.dll.

the code is like below.
ZipForge zf = new ZipForge();
zf.FileName = path + "\\" + fileName;
zf.BaseDir = path;
zf.OpenArchive(FileMode.Open);
zf.Options.Overwrite = OverwriteMode.Always;
zf.OnExtractFile += new BaseArchiver.OnExtractFileDelegate(zf_OnExtractFile);
zf.ExtractFiles("*.*");
zf.CloseArchive();
return extractedFileName;
static void zf_OnExtractFile(object sender, ref string fileName, ref FileAttributes fileAttr, string comment)
{

extractedFileName = fileName;
//throw new Exception("The method or operation is not implemented.");
} //=> the popup message comes at this line.

One more thing is am calling above function inside try block but its not catching this particular exception, instad popup is coming with the above said message.

If anyone have idea on this, plz let me know.

Thanks,
Dev
 
Joined
Mar 30, 2009
Messages
3
Reaction score
0
Hi,

I got one more error like 'Invalid size or check sum of file or unsupported compression format - Native error:8.File processing error, possibly disk is full' for some other zip file.

really am not getting why these errors are coming.
If someone knows plz let me know.

Thanks,
Dev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top