SevenZipExtractor icon indicating copy to clipboard operation
SevenZipExtractor copied to clipboard

Unable to initialize SevenZipHandle / Access Denied .NET 4.8???

Open philipcj opened this issue 2 years ago • 2 comments

I did have this working once, I passed in the dll path into the new ArchiveFile. Locally and on Azure this no longer works.

If I take out the path, so my code just looks like this: archiveFile = new ArchiveFile(zipDocumentStream, sevenZipFormat);

I get a "Unable to initialize SevenZipHandle Win32Exception: Access is denied.

I have tried the last three versions of the SevenZipExtractor and all three give the same result. Any ideas?

philipcj avatar Feb 01 '23 14:02 philipcj

P.S. I'm on .NET 4.8 Is that the issue?

philipcj avatar Feb 01 '23 15:02 philipcj

Hi, rather late reply, NET 4.8 is not the case. Btw, can you please share for future visitors what what the solution to your problem?

adoconnection avatar May 04 '23 10:05 adoconnection