We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Decompress 7Zip throw a exception use Aspose.Cell for Net 22.10

I use Aspose.Cell for Net 22.10 to compress file to 7Zip with password,It throw a exception when i ity to decompress the result 7Zip file.

The sample code:

void Main()
	var targetFilePath=@"C:\Users\XCL\Desktop\result.7z";
	using (var zipFile = File.Open(targetFilePath, FileMode.Create))
		var archive = new SevenZipArchive(new SevenZipEntrySettings(null , new SevenZipAESEncryptionSettings("123456")));
	using (var archive = new Aspose.Zip.SevenZip.SevenZipArchive(targetFilePath))

the exception info:
20221014135045.png (60.6 KB)

Hello @sullivan, can you provide us composed archive to review?


the file that need compress:
demo.docx (12.0 KB)

the 7z file after compress:
result.7z (9.5 KB)

OS version:Windows 10、Windows 11
.NET:net framework 4.7

We have logged your bug report in our issue tracking system. Your ticket number is ZIPNET-930. We will further look into the details of this requirement and will keep you updated here on the status of the linked ticket.