DNA does not work when downloaded from the internet
121
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 12:59 PM
Symptom
When DNA is downloaded from the internet, sometimes when DNA is run it does not work correctly.
Errors will be seen in the DNA logs with the messages "Could not load file or assembly" and "The system cannot find the file specified"
For example:
17/04/2019 11:13:55 - DNAPR061E Failed to create report file in path C:\Idira Source\Idira Signed DNA v8.1 Unlicensed\Reports\DNA Report (2019-04-17@11-13-51).xlsx. Error message - Could not load file or assembly 'office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
17/04/2019 11:13:55 - DNAPR297E Failed to write scans results to the report. Error message - Could not load file or assembly 'office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
Environment
N/A Any version of DNA downloaded from the internet onto some Windows versions.
Cause
Some of the DNA files are blocked by Windows which prevents DNA from loading the files. These are usually .dll files.
This is because of a Windows security feature which blocks some files types when downloaded from the internet.
Resolution
Using PowerShell issue following command, where <PATH to DNA> is the path of the directory with the DNA files:
dir "<PATH to DNA>" -Recurse | Unblock-File