---
title: "Validation and DACPAC Registration: Verifying Your Migration Success"
description: "Complete validation and DACPAC registration guide after a Nodinite v7 database migration: register the database versions with the CLI and the Update Log Database guide, then test the Core Services."
---

# Validation and DACPAC Registration

In the new SQL Server instance, the :Nodinite: version in use needs to be correctly registered, and every [Core Service][Core Services] must be tested against the moved databases.

>[!NOTE]
>**Nodinite v7**: DACPAC version registration is partially automated. The CLI in the generated package handles the [Configuration Database][] and the Monitoring Databases of agents in the package. Log Databases are registered with the [Update Log Database][] guide under **Administration** › **Settings** › [Log Databases][Log Databases Settings] in the [Web Client][]. :Nodinite: v6 is no longer supported.

<div class="mermaid">
flowchart TB
    R1["fa:fa-terminal Register Configuration<br/>and agent databases<br/>CLI"] --> R2["fa:fa-database Register Log Databases<br/>Update Log Database guide"]
    R2 --> W["fa:fa-play Start web application pools"]
    W --> T["fa:fa-vial Test Log API and Web API"]
    T --> S["fa:fa-play Start Logging and<br/>Monitoring Services"]
    S --> V["fa:fa-circle-check Test Web Client and<br/>Log Database status"]
    style R1 fill:#2678BD
    style R2 fill:#E47528
    style S fill:#3F827B
    style V fill:#93d16d
</div>

*Diagram: the order of this page. Register the versions with the [CLI][Portal CLI] (blue) and the [Update Log Database][] guide (orange) first, test the [Log API][] and [Web API][] before the [Logging Service][] and [Monitoring Service][] start writing again (teal), and finish in the [Web Client][] (green).*

## Register DACPAC

### Configuration Database and Agent Databases

1. Download the latest :Nodinite: 7 package for the environment from the [Nodinite Portal][portal]<sup>:fa-arrow-up-right-from-square:</sup> (or use your currently downloaded version), see [Updating Nodinite v7][]
2. In elevated PowerShell 7, run the CLI validation and deployment commands from the generated package (see [Step 7][Portal CLI]):

   ```powershell
   .\Nodinite.Installer.Cli.exe validate --config .\localhost\config.cli.json
   .\Nodinite.Installer.Cli.exe deploy-environment --config .\localhost\config.cli.json --dry-run
   .\Nodinite.Installer.Cli.exe deploy-environment --config .\localhost\config.cli.json
   ```

3. The CLI deployment will automatically detect and register the correct DACPAC versions for:
   * The [Configuration Database][ConfigDB]
   * The [Monitoring Databases][Agent Database] of agents installed from the package
4. Verify the registered versions in **Administration** › **Tools** › [Nodinite Overview][]

### Log Databases

1. Navigate to **Administration** › **Settings** › [Log Databases][Log Databases Settings] in the [Web Client][] and open the [Update Log Database][] guide
2. Copy the generated script for each Log Database
3. Using a command prompt as the service account for the :Nodinite: [Logging Service][], run the provided script
4. Verify registration - the version number should match your :Nodinite: version
5. Repeat for each [Log Database][Log Databases]

## Start the IIS Application Pools

Start the stopped application pools of the [Web Client][], [Web API][], [Log API][], and the other Core Services. Review the [IIS Authentication settings][] user guide for additional information.  

>[!IMPORTANT]
>Do **NOT** start the [Logging Service][] and the [Monitoring Service][] yet; start them after the basic tests, in [Start the Logging and Monitoring Services](#start-the-logging-and-monitoring-services).

## Basic Validation Tests

Navigate to **Administration** › **Tools** › [Nodinite Overview][] in the [Web Client][] to access quick links to all :Nodinite: [Core Services][].  

![Nodinite v7 Overview with clickable links to the Core Services][9]  
*Example: Nodinite v7 Overview page with clickable URI links.*

Validate that all Core Services are working correctly:

### Log API Test

From the [Nodinite Overview][], click the **Log API** link.

* Open the Scalar interface (`/scalar`) and insert a [JSON Log Event][] example. You verify that it appears in the Admin [Log View][Log Views] in the Web Client test below.

### Web API Test

From the [Nodinite Overview][], click the **Web API** link.

* Using the Scalar interface (`/scalar`), perform a test of the **Get** operations for [Roles][]. All roles should be returned in the response JSON

### Start the Logging and Monitoring Services

Start the [Logging Service][] and the [Monitoring Service][], with the **Start** button in [Step 5 of the Update Log Database guide][Start Services Button] or in IIS Manager.

### Web Client Test

Navigate to the [Web Client][] home page.

* Perform a search in the Admin [Log View][Log Views] and verify that there are [Log Events][Log Event] in the search result, including the one from the Log API test

### Database Status Verification

From **Administration** › **Settings** › [Log Databases][Log Databases Settings] in the [Web Client][], verify:  

* Server name(s) match the new SQL Server environment
* Database name(s) are correct
* Version numbers match your :Nodinite: version
* All Log databases are listed as operational

![Log Databases list with every Log Database shown as operational][11]  
*Confirmation that all Log Databases are listed as operational in :Nodinite:.*

## :fa-hand-point-right: Next Steps

**Validation successful?** Continue with final steps:  

* :fa-flag-checkered: [Post-Migration Steps][] - Cleanup, backups, and monitoring  

## :fa-link-horizontal: Related Topics

* :fa-truck-moving: [Database Migration Overview][] - Hub page and decision tree  
* :fa-clipboard-check: [Planning][] - Pre-flight checklist  
* :fa-hard-drive: [Local Disk Move][] - For same SQL instance  
* :fa-server: [Remote SQL Instance Move][] - For different SQL instance  
* :fa-gear: [Configuration Changes][] - Connection strings update  
* :fa-arrow-turn-up: [Manually update databases][Manually update database] - Which tool updates which database  

[9]:{ndm}/Documentation%20Pictures/IM/IMUpdate/Troubleshooting/NodiniteWebApplicationsLinks.png
[11]:{ndm}/Documentation%20Pictures/IM/IMUpdate/Troubleshooting/LogDatabaseOperational.png

[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[ConfigDB]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Configuration Changes]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/4.%20Configuration%20Changes.md
[Configuration Database]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Database Migration Overview]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/Overview.md
[IIS Authentication settings]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md
[JSON Log Event]:{ndr}/Core%20Services/Log%20Event/Features/JSON%20Log%20Event.md
[Local Disk Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/2.%20Local%20Disk%20Move.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Databases Settings]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[Manually update database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Manually%20update%20databases.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Nodinite Overview]:{ndr}/Administration/6.%20Tools/1.%20Nodinite%20Overview.md
[Planning]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/1.%20Planning.md
[portal]:https://portal.nodinite.com/
[Portal CLI]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md#recommended-workflow
[Post-Migration Steps]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/6.%20Post-Migration%20Steps.md
[Remote SQL Instance Move]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/3.%20Remote%20SQL%20Instance%20Move.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Start Services Button]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Update%20Log%20Database.md#fa-forward-step-step-5-restart-services
[Update Log Database]:{ndr}/Administration/5.%20Settings/2.%20Log%20Databases/Update%20Log%20Database.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md