Summary
If installation files have been directly downloaded from the Internet and uncompressed then running the Config.ps1 or InstallCognos.ps1 script may fails to an error message like the following:
Could not load file or assemply 'file:///C:\FNMS\Support\DotNetZip.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Could not load file or assemply 'file:///C:\FNMS\Support\Ionic.Zip.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
Cause
Windows can block access to DLL files that it tracks as having been downloaded from an untrusted location.
Resolution
Executing a PowerShell command like the following will use the Unblock-File cmdlet to unblock access to downloaded DLLs (replace the path "C:\FNMS" with the relevant directory path for your environment):
Get-ChildItem -Recurse "C:\FNMS\Support" | Unblock-File
Additional Information
Here are some additional resources that discuss unblocking files in Windows environments:
Related Articles
Could not load file or assembly 'sapnco_utils.dll' or one of its dependencies error 42Number of Views "Get Azure VM Instances" Azure import reader step may fail with error: "Could not load file or assembly '[...]' or one of … 16Number of Views Microsoft .Net Framework unhandled exception “Could not load file or assembly ‘ Microsoft.Report.Viewer.WinForms, version … 28Number of Views Config.ps1 installation script fails with error: "Exception calling "Extract All" with "2" argument(s): Could not find a p… 18Number of Views Oracle manual compliance unavailable or does not complete, logs "Could not load file or assembly System.IO.Pipelines" 47Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago