Supplied Object Has Not Been Initialized for Investigations
Symptom
The following error appears when trying to complete an investigation:
The Supplied object has not been initialized
Cause
- The account used for investigations the SQL Server instance has insufficient rights.
- The password for the account used for investigations in incorrect.
- The database used to import data from Long-Term Archive is corrupt.
Solution
-
Assign the
db_ownerrole to the account used for investigations.- On the computer where the SQL Server instance with
Netwrix_ImportDBresides, navigate to Start > All Programs > Microsoft SQL Server > SQL Server Management Studio. - Connect to the server using the credentials for the account with sufficient permissions to assign roles.
- In the left pane, expand the Security node. Expand the Logins node and select the login used for investigation. Right-click it and select Properties.
- In the left pane, select User Mapping and select the
Netwrix_ImportDBdatabase. - In the Database role membership section, select db_owner. Click OK to save changes, and try running the investigation.
- On the computer where the SQL Server instance with
-
Verify the password provided in Investigations settings.
- In the main Netwrix Auditor screen, click Settings.
- In the left pane, select the Investigations tab.
- Under the SQL Server settings, click Modify.
- Provide the credentials and proceed to save the changes.
- Try running the investigation.
-
Delete the
Netwrix_ImportDBdatabase and rebuild the database.- In Windows Services Manager on your Netwrix host, stop both Netwrix Auditor Archive Service and Netwrix Auditor Management Service.
- Run your SQL Management Studio instance and navigate to
%SQL_Server_database_name%> Databases >Netwrix_ImportDB. Right-click the database and select Delete. - In the Delete Object window, check both option checkboxes:
- Delete backup and restore history information for databases.
- Close existing connections.
- Once the database has been deleted, restart Netwrix Auditor Archive Service and Netwrix Auditor Management Service.
- In the main Netwrix Auditor screen, click Settings.
- In the left pane, select the Investigations tab. Configure an investigation scope and run the investigation to recreate the
Netwrix_ImportDBdatabase.