---
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."
---

# <i class="fal fa-wrench" aria-hidden="true"></i> Troubleshooting Installation Issues

Use these troubleshooting steps when a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> 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.*

<h2 id="validation-table"><i class="fal fa-table-list" aria-hidden="true"></i> Read the Validation Table</h2>

`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.

<h2 id="database-connection"><i class="fal fa-database" aria-hidden="true"></i> Database Connection Failures</h2>

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

<i class="fal fa-book" aria-hidden="true"></i> [SQL Server Connection Strings][ConnectionStrings] - Complete connection string reference

<h2 id="iis-app-pool"><i class="fal fa-server" aria-hidden="true"></i> IIS Application Pool Failures</h2>

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]

<i class="fal fa-book" aria-hidden="true"></i> [IIS Windows Features][] - Complete IIS configuration guide

<h2 id="service-installation"><i class="fal fa-cogs" aria-hidden="true"></i> Service Installation Failures</h2>

If <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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]

<h2 id="verbose-mode"><i class="fal fa-scroll" aria-hidden="true"></i> Using Verbose Mode for Troubleshooting</h2>

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"
```

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>The <code>--log-file</code> path is written also when the run fails pre-flight validation. The run is logged to <code>logs\Nodinite.Installer.Cli.exe-&lt;yyyyMMdd&gt;.log</code> in the CLI's folder as well.</p></div>
</aside>

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

<h2 id="non-interactive"><i class="fal fa-robot" aria-hidden="true"></i> Non-Interactive Runs (CI/CD)</h2>

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*.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-microscope" aria-hidden="true"></i> [Verify Prerequisites][] - Run every prerequisite check before you try again  
* <i class="fal fa-rocket" aria-hidden="true"></i> [3. Installation Guide][InstallationGuide] - The v7 install flow from Portal to CLI  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-list-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-life-ring" aria-hidden="true"></i> [Install and Update Troubleshooting][Troubleshooting Overview]  
* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Connection Strings][ConnectionStrings]  
* <i class="fal fa-user-plus" aria-hidden="true"></i> [Logon as a Service][LogonAsAService]  

[ConnectionStrings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[FW SQL Core Services]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/#core-services-to-sql-server
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[IIS Windows Features - dotnet10]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/#verify-aspnet-core-module
[InstallationGuide]:https://docs.nodinite.com/install-and-update/getting-started/installation-guide/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogonAsAService]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Portal Run]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/
[Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/
[Runtime Environments]:https://docs.nodinite.com/install-and-update/troubleshooting/runtime-environments/overview/
[Secret Management]:https://docs.nodinite.com/install-and-update/troubleshooting/secret-managment/
[Support]:https://support.nodinite.com
[SupportPage]:https://docs.nodinite.com/getting-started/support/
[Troubleshooting Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/overview/
[Verify Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/verify-prerequisites/
[Verify SQL Server]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/verify-prerequisites/#fa-database-sql-server-verification
[VerifyCli]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/verify-prerequisites/#fa-list-check-let-the-cli-check-too
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client CS]:https://docs.nodinite.com/core-services/web-client/overview/