Tech Note - Could not load file of assembly - Error 0x80131515
Issue
The following error is displayed to a user when they try to load CardExchange® Producer with a plugin in dll format.
error : Could not load file or assembly 'file:///C:\foobar.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Solution
Guide the user to unblock the dll file by:
Right-clicking on the dll file
Selecting
Properties
On the bottom right corner, click in
Unblock
If prompted, confirm/approve the action
Causality
Due to security policies native to Windows, downloaded dll files are by default blocked by the operating system, having the users to manually unblock said files in order to be able to use them.