Subject: Corrupt file: "System.StackOverflowException' occurred in ComponentPro.Zip.dll" Date: 2013-11-08 10:14:14 From: Iris Maag Source: corrupt-file-system-stackoverflowexception-occurred-componentpro-zip-dll ----------------------------------------------------------------------Hi,
I try to append a file to zip. But the zip is corrupt and my program exits with the errormessage:
"An unhandled exception of type 'System.StackOverflowException' occurred in ComponentPro.Zip.dll"
How can I test if the zip is corrupt or add a file without the program dies ?
[code lang='c#']
zip.Open(targetFileName);
//Test Zip Files
try
{
zip.TestAllFiles();
}
catch (Exception ex)
{
//logentry
}[/code]
thx for help.
---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index