Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
philipcj opened this issue Feb 1, 2023 · 2 comments
Open

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

philipcj opened this issue Feb 1, 2023 · 2 comments

Comments

@philipcj
Copy link

philipcj commented Feb 1, 2023

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
Copy link
Author

philipcj commented Feb 1, 2023

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

@philipcj philipcj changed the title Unable to initialize SevenZipHandle / Access Denied Unable to initialize SevenZipHandle / Access Denied .NET 4.8??? Feb 2, 2023
@adoconnection
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants