DNA - Scan Failing With Error - DNAPR269E Failed to create database schema and file.

DNA - Scan Failing With Error - DNAPR269E Failed to create database schema and file.

151
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:54 PM


Symptom


When attempting to run a scan with the DNA Tool, it is failing and the following error is appearing in the logs (DNAtrace and DNAconsole):


DNAconsole.log:

DNAPR269E Failed to create database schema and file. 
DNAPR658E Failed to initialize machines scan. Error message - Failed to create DB, Error: Object reference not set to an instance of an object.


DNAtrace.log:

DNAPR269E Failed to create database schema and file. 
DNAPR658E Failed to initialize machines scan. Exception data: System.Exception: Failed to create DB, Error: Object reference not set to an instance of an object.
  


Environment


8.3 Discovery and Audit (DNA) DNA DNA

Cause


This error is usually caused by one of the following scenarios:

1. There is a missing .NET or C++ requirement as specified in the user guide

2. The user running DNA scan does not have full permissions on the DNA folder and therefore is unable to create the temporary DB file

3. DNA tool has been downloaded from the internet and some of the files have been blocked by windows. 

4. Some of the dlls are missing or were not unzipped correctly


Resolution


In order to resolve this, 

1. There is a missing .NET or C++ requirement as specified in the user guide

- Please make sure that .NET Framework 4.5.2 and .NET Framework 3.5 SP1 are installed.
In addition, please make sure that the Microsoft Visual C++ 2008 SP1 Redistributable Package (C++ Runtime Library) is installed as well."


2. The user running DNA scan does not have full permissions on the DNA folder and therefore is unable to create the temporary DB file

- Please grant the appropriate permissions to the user or use a different user whom already has the permissions required


3. DNA tool has been downloaded from the internet and some of the files have been blocked by windows.

- This can be fixed by running the following PowerShell as administrator and issuing the following command:
dir "<PATH to DNA>" -Recurse | Unblock-File
- As per knowledge article: https://community.cyberark.com/s/article/DNA-does-not-work-when-downloaded-from-the-internet


4. Some of the dlls are missing or were not unzipped correctly

- Please try deleting folder and reinstalling/unzipping the DNA tool archive folder.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vXnCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail