Archived Forum Post

Index of archived forum posts

Question:

Zip.OpenZip throws error

Sep 16 '16 at 02:41

While trying to open the file from the network path, it throws an error "Failed to set MemoryData from file".

Kindly do find the error as follows

ChilkatLog: OpenZip: DllDate: Oct 29 2015 ChilkatVersion: 9.5.0.54 UnlockPrefix: RSMACM.CB41116 Username: SELVAKUMAR-PC:V9.014.1910_Dev Architecture: Little Endian; 32-bit Language: .NET 4.5 VerboseLogging: 0 Component successfully unlocked using purchased unlock code. openZip: zipPath: "\\191.158.12.214\FileShare\XYZ\ABC\a1.zip" oemCodePage: 437 WindowsError: Access is denied. WindowsErrorCode: 0x5 win32CreateFileAnsi failed. localFilePath: \\191.158.12.214\FileShare\XYZ\ABC\a1.zip currentWorkingDirectory: C:WINDOWSSysWOW64inetsrv localWindowsFilePath: \\191.158.12.214\FileShare\XYZ\ABC\a1.zip Failed to set MemoryData from file. --openZip Failed. --OpenZip --ChilkatLog


Accepted Answer

It also says

WindowsError: Access is denied. WindowsErrorCode: 0x5
So your program doesn't have permission to open the file.