---
title: "Troubleshoot Nodinite v7 Installation: SQL Server, Application Pools, Services, Verbose Mode"
description: "Fix a failing Nodinite v7 installation: SQL Server connection failures, IIS application pools that don't start, services that fail to install, and how to run the CLI in verbose mode with a log file for support."
---

# :fa-wrench: Troubleshooting Installation Issues

Use these troubleshooting steps when a :Nodinite: v7 installation fails or components don't work as expected. Most failures come from a prerequisite that wasn't in place, so run the checks in [Verify Prerequisites][] first; the complete list of what to prepare is on the [Prerequisites][] page.

* ✅ Read the pre-flight validation table the CLI prints before it deploys anything  
* ✅ SQL Server connection failures during the install  
* ✅ [IIS][] application pools that don't start  
* ✅ Windows services that fail to install  
* ✅ A verbose CLI run, and which log file to send to our support  

## :fa-diagram-project: Understanding Where an Install Fails

The CLI first runs its pre-flight checks and prints them as a validation table. Nothing is deployed when a check fails. When all checks pass, it deploys the databases, then the [IIS][] sites and the Windows services. Where it stops tells you which section to read.

```mermaid
graph LR
    A["fa:fa-terminal CLI run"] --> V["fa:fa-table-list Pre-flight validation"]
    V --> B["fa:fa-database Deploy databases"]
    B --> C["fa:fa-server IIS sites and application pools"]
    C --> D["fa:fa-cogs Windows services"]
    V -.->|"fails"| T["Read the Validation Table"]
    B -.->|"fails"| E["Database Connection Failures"]
    C -.->|"fails"| F["IIS Application Pool Failures"]
    D -.->|"fails"| G["Service Installation Failures"]
```

*Where the [CLI workflow][Portal Run] can fail, and the section below that covers it. Most failures stop at the pre-flight validation, before anything is deployed.*

## :fa-table-list: Read the Validation Table {#validation-table}

`deploy-environment` (also with `--dry-run`) starts with the same pre-flight checks as `validate` and prints them as a **Check** / **Status** / **Details** table. The checks include Runtime Environment (see [Runtime Environments][]), IIS Prerequisites, SQL Server, Port Availability, Service Accounts, Environment (the product key), [Secret Management][], and Existing Installation. The table ends with **Validation failed** and the number of errors and warnings when a check fails.

* **Read the Details column first.** It names what to fix. A wrong SQL Server name, for example, shows as **SQL Server** FAIL with *Cannot connect to SQL Server (Main)*, followed by what to check in order: the server name, instance and port; the firewall; that the server's TLS certificate is trusted; and that the login is accepted.
* **Get the table without changing anything.** `--dry-run` simulates the deployment, so it is a safe way to run the checks again after a fix:

  ```powershell
  .\Nodinite.Installer.Cli.exe deploy-environment --config .\<server>\config.cli.json --dry-run --verbose
  ```

* **Send the log file and a screenshot of the table to our support.** The log names each failed check, like the console table.

[Verify Prerequisites][VerifyCli] shows the `validate` and `install-prerequisites` commands that run the same checks before you deploy.

## :fa-database: Database Connection Failures {#database-connection}

If installation fails to connect to SQL Server:

* **Read the SQL Server row of the [validation table](#validation-table)** - Its Details column lists what to check, in order
* **Verify SQL Server service is running** - Check Services.msc or use `Get-Service -Name MSSQLSERVER`
* **Confirm you have sysadmin role** - Run the [SQL Server verification script][Verify SQL Server]
* **Test connection manually** - Use `Test-NetConnection -ComputerName SQL01 -Port 1433`
* **Check firewall rules** - See [SQL Server Firewall][FW SQL Core Services]
* **Verify connection string** - Review encryption and certificate trust settings

:fa-book: [SQL Server Connection Strings][ConnectionStrings] - Complete connection string reference

## :fa-server: IIS Application Pool Failures {#iis-app-pool}

If IIS application pools fail to start:

* **Ensure the service account has the "Log on as a service" right** - See [Logon as a Service][LogonAsAService]
* **Verify the service account password is correct** - Test credentials with the `runas` command
* **Check the account is not locked or expired** - Verify in Active Directory Users and Computers
* **Review IIS logs** - Check `C:\inetpub\logs\LogFiles` for detailed errors
* **Verify ASP.NET Core Module V2** - Run [Verify ASP.NET Core Module][IIS Windows Features - dotnet10]

:fa-book: [IIS Windows Features][] - Complete IIS configuration guide

## :fa-cogs: Service Installation Failures {#service-installation}

If :Nodinite: services fail to install:

* **Confirm the user running the CLI has permissions** - Run PowerShell 7 elevated
* **Check Windows Event Logs** - Review Application and System logs for detailed error messages
* **Check the CLI troubleshooting notes** - See [Step 7: Run the CLI Workflow][Portal Run]

## :fa-scroll: Using Verbose Mode for Troubleshooting {#verbose-mode}

Run from the extracted package root:

```powershell
.\Nodinite.Installer.Cli.exe deploy-environment --config .\<server>\config.cli.json --verbose --log-file "C:\Temp\Installation-Log.txt"
```

>[!TIP]
>The `--log-file` path is written also when the run fails pre-flight validation. The run is logged to `logs\Nodinite.Installer.Cli.exe-<yyyyMMdd>.log` in the CLI's folder as well.

Share the log and the screenshot with our [Support][]<sup>:fa-arrow-up-right-from-square:</sup> ([Support page][SupportPage]). The full command reference is in [Step 7: Run the CLI Workflow][Portal Run].

## :fa-robot: Non-Interactive Runs (CI/CD) {#non-interactive}

With `--non-interactive`, the CLI can't prompt for the service account passwords, so they must come from environment variables:

|Service|Environment variable|
|---|---|
|[Web Client][Web Client CS]|`NODINITE_WEBCLIENT_PASSWORD`|
|[Web API][]|`NODINITE_WEBAPI_PASSWORD`|
|[Log API][]|`NODINITE_LOGAPI_PASSWORD`|
|[Logging Service][]|`NODINITE_LOGGINGSERVICE_PASSWORD`|
|[Monitoring Service][]|`NODINITE_MONITORINGSERVICE_PASSWORD`|
|[MCP Endpoint][]|`NODINITE_MCPSERVER_PASSWORD`|

Without them, the run stops with *Deployment aborted: required secrets were not provided*.

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

* :fa-microscope: [Verify Prerequisites][] - Run every prerequisite check before you try again  
* :fa-rocket: [3. Installation Guide][InstallationGuide] - The v7 install flow from Portal to CLI  

## :fa-link-horizontal: Related Topics

* :fa-list-check: [Prerequisites][]  
* :fa-life-ring: [Install and Update Troubleshooting][Troubleshooting Overview]  
* :fa-database: [SQL Server Connection Strings][ConnectionStrings]  
* :fa-user-plus: [Logon as a Service][LogonAsAService]  

[ConnectionStrings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md
[FW SQL Core Services]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Firewall.md#core-services-to-sql-server
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[IIS Windows Features]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md
[IIS Windows Features - dotnet10]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Windows%20Features.md#verify-aspnet-core-module
[InstallationGuide]:{ndr}/Install%20and%20Update/Getting%20started/3.%20Installation%20Guide.md
[Log API]:{ndr}/Core%20Services/Log%20API/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[LogonAsAService]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[MCP Endpoint]:{ndr}/AI/MCP%20Endpoint.md
[Monitoring Service]:{ndr}/Core%20Services/Monitoring%20Service/Overview.md
[Portal Run]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/07%20-%20Install%20the%20Generated%20Package.md
[Prerequisites]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md
[Runtime Environments]:{ndr}/Install%20and%20Update/Troubleshooting/Runtime%20Environments/Overview.md
[Secret Management]:{ndr}/Install%20and%20Update/Troubleshooting/Secret%20Managment.md
[Support]:https://support.nodinite.com
[SupportPage]:{ndr}/Getting%20Started/Support.md
[Troubleshooting Overview]:{ndr}/Install%20and%20Update/Troubleshooting/Overview.md
[Verify Prerequisites]:{ndr}/Install%20and%20Update/Getting%20started/Prerequisites/Verify%20Prerequisites.md
[Verify SQL Server]:{ndr}/Install%20and%20Update/Getting%20started/Prerequisites/Verify%20Prerequisites.md#fa-database-sql-server-verification
[VerifyCli]:{ndr}/Install%20and%20Update/Getting%20started/Prerequisites/Verify%20Prerequisites.md#fa-list-check-let-the-cli-check-too
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client CS]:{ndr}/Core%20Services/Web%20Client/Overview.md