Can not install Qlik Web Connectors as a Service. The installation fails with error: System.IO.FileLoadException: Could not load file or assembly 'file:///c:\QlikWebConnectors\QlikWebConnectorsSVC.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Environments:
Qlik Web Connectors - all
QlikView - all
Qlik Sense - all
In some deployments (usually restricted ones) the file has to be unblocked by the user with sufficient privileges.
Once the Qlik Web Connector ZIP file is downloaded it has to be unlocked.
Unlocking the file:
Option 1:1. Make sure that the user you are logged in as has sufficient privileges.
2. Go to the folder where the Qlik Web Connector ZIP file is located.
3. Right click on the Qlik Web Connector ZIP file.
4. Go to the General Tab in the dialogue box and at the bottom tick "Unblock". Click "Apply". Please see the image below for reference.
Option 2:1. Run PowerShell as administrator
2. Run the following command
dir -Path [
web connector directory path] -Recurse | Unblock-File