Archived Forum Post

Index of archived forum posts


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: 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: "\\\FileShare\XYZ\ABC\" oemCodePage: 437 WindowsError: Access is denied. WindowsErrorCode: 0x5 win32CreateFileAnsi failed. localFilePath: \\\FileShare\XYZ\ABC\ currentWorkingDirectory: C:WINDOWSSysWOW64inetsrv localWindowsFilePath: \\\FileShare\XYZ\ABC\ 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.