adoconnection / SevenZipExtractor

C# wrapper for 7z.dll
MIT License
306 stars 83 forks source link

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

Open philipcj opened 1 year ago

philipcj commented 1 year ago

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 commented 1 year ago

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

adoconnection commented 1 year ago

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?