Archived Forum Post

Index of archived forum posts


Load Assembly Failed: Exception from HRESULT: 0x80131515

Apr 04 '16 at 09:10

I am using this approach for dynamic loading:

It failed on the line var assembly = Assembly.LoadFrom(path);

with FileLoadException : Could not load file or assembly "file:///C:UsersabcDocumentsVisual Studio 2010ProjectsproblembinDebugChilkatDotNet4-32.dll" or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)


I found the problem with loading assembly.

The problem is that I downloaded zip and extracted it with Windows Explorer.

It marked DLL as network downloaded and don't want to load it with AssemblyLoad
I extracted zip archive with 7-zip archiver and it works fine.