---
title: SQL Server Troubleshooting – Overview
description: Index of SQL Server troubleshooting guides for Nodinite. Covers connection strings, linked servers, Always On Availability Groups, SPN registration, firewall rules, database maintenance, and migration.
---

# :fa-database: SQL Server Troubleshooting

:Nodinite: keeps its settings in the [Configuration Database][ConfigDB] and its [Log Events][Log Event] in one or more [Log Databases][], all hosted on [Microsoft SQL Server][SQL Server Options]. Most installation, update, and runtime problems that look like ":Nodinite: is broken" are really SQL Server plumbing: a connection string, a missing [Linked Server][Linked Servers], a Kerberos SPN, a firewall rule, or a missing right. This page is the index of the guides that fix them.

## :fa-network-wired: Where SQL Server Fits in Nodinite

On Windows Server, every :Nodinite: [Core Service][Core Services] is its own [IIS][] web site that connects to the Configuration Database with the connection string you set in the Nodinite Portal ([Step 3: Infrastructure][Portal SQL Server]). The Configuration Database reaches the Log Databases through Linked Servers, and the [Logging Service][] creates the first Log Database when it starts for the first time.

<div class="mermaid">
flowchart LR
    subgraph CS["fa:fa-server Nodinite Core Services Server"]
        Core["fa:fa-globe Core Services<br/>IIS web sites"]
    end
    subgraph SQL["fa:fa-database SQL Server"]
        Config["fa:fa-database Configuration Database"]
        Log["fa:fa-database Log Databases"]
    end
    DC["fa:fa-shield-halved Domain Controller<br/>Kerberos and SPNs"]
    MA["fa:fa-hard-drive Monitoring Agent"]
    Agent["fa:fa-database Monitoring Database"]
    Core -->|"Connection string, TLS"| Config
    MA -->|"Connection string"| Agent
    Config -->|"Linked Server, RPC and RPC Out, MSDTC"| Log
    Core -.->|"Kerberos ticket"| DC
    Config -.->|"Delegation"| DC
    style Core fill:#2678BD
    style Config fill:#3F827B
    style Log fill:#3F827B
    style DC fill:#9E59BB
    style MA fill:#E47528
    style Agent fill:#E47528
</div>

*Diagram: the SQL Server hops in a :Nodinite: installation. Blue is the [Core Services][], green the [Configuration Database][ConfigDB] and [Log Databases][] (joined by [Linked Servers][] with [RPC and RPC Out][Linked Server RPC and RPC Out]), purple the domain controller that issues Kerberos tickets for the [SPNs][SPN], and orange the optional [Monitoring Database][Agent Database] that some [Monitoring Agents][] use. Each hop has its own guide below; the ports are on the [Firewall][] page.*

## :fa-key: Authentication and Connectivity

* [SPN – Service Principal Names][SPN] — Hub: how SQL Server and IIS SPNs differ, when SPNs are required, and the shared `setspn` commands
* [SQL Server SPNs (MSSQLSvc)][SQL Server SPN] — Register SPNs for default and named instances, failover clusters, Always On listeners, and linked servers; validate with Microsoft Kerberos Configuration Manager
* [Connection Strings][] — Supported SQL Server connection string formats, certificate validation, Windows vs SQL authentication, and named instance syntax
* [Firewall][] — The one home for SQL Server, [MSDTC][], and domain controller ports between :Nodinite: and SQL Server

## :fa-server: High Availability

* [Always On Availability Groups (AOAG)][AlwaysOn] — Configure and troubleshoot SQL Server Always On for :Nodinite: databases; covers the listener, recovery model, and synchronization of new Log Databases

## :fa-link: Linked Servers

* [Linked Servers][] — Configure linked servers between the :Nodinite: [Configuration Database][ConfigDB] and local or remote [Log Databases][]
* [Linked Server RPC and RPC Out][] — Enable the RPC and RPC Out options required for linked server stored procedure execution

## :fa-database: Database Maintenance

* [SQL Server Sysadmin Requirements][] — When `sysadmin` is required, what breaks without it, and how to align with DBA security policies
* [SQL Server Options][] — Supported versions and editions, collation, memory, and performance guidance, including SQL Server 2025 Express (50 GB per Log Database)
* [Agent Database][] — Install, update, and troubleshoot the Monitoring Databases used by some [Monitoring Agents][]
* [Automating removal of old Log Databases][AutoRemove] — Schedule a SQL Server Agent job that removes expired Log Databases to manage disk growth
* [Manually removing old configuration data][ManualRemove] — Remove unused [Message Types][] and [Endpoints][] from the Configuration Database
* [Manually update databases][ManualUpdate] — Which tool updates which :Nodinite: database in v7, plus the legacy v6 manual DACPAC procedure
* [Remove duplicate Endpoints][] — Clean up duplicate [Endpoints][] and their related metrics
* [Database Recovery Pending][DBRecovery] — Recover a SQL Server database stuck in the "Recovery Pending" state

## :fa-truck-moving: Migration

* [Database Migration][] — Move :Nodinite: databases to new disks, a new SQL Server instance, or a new host

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

* :fa-list-check: [Install and Update Prerequisites][]  
* :fa-database: [SQL Server Options][]  
* :fa-link: [Linked Servers][]  
* :fa-truck-moving: [Database Migration][]  

## :fa-link-horizontal: Related Topics

* :fa-screwdriver-wrench: [Install and Update Troubleshooting][Troubleshooting]  
* :fa-database: [Configuration Database][ConfigDB]  
* :fa-database: [Log Databases][]  
* :fa-hard-drive: [Logging Service][]  
* :fa-rocket: [Install Nodinite v7][]  
* :fa-arrow-turn-up: [Updating Nodinite v7][]  

[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[AlwaysOn]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[AutoRemove]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Automating%20removal%20of%20old%20Log%20Databases.md
[ConfigDB]:{ndr}/Core%20Services/Configuration%20Database/Overview.md
[Connection Strings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md
[Core Services]:{ndr}/Core%20Services/Overview.md
[Database Migration]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Migration/Overview.md
[DBRecovery]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Database%20Recovery%20Pending.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[Firewall]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Firewall.md
[IIS]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/Overview.md
[Install and Update Prerequisites]:{ndr}/Install%20and%20Update/Getting%20started/2.%20Prerequisites.md
[Install Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7.md
[Linked Server RPC and RPC Out]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Server%20RPC%20and%20RPC%20Out.md
[Linked Servers]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Linked%20Servers.md
[Log Databases]:{ndr}/Core%20Services/Log%20Databases/Overview.md
[Log Event]:{ndr}/Core%20Services/Log%20Event/Overview.md
[Logging Service]:{ndr}/Core%20Services/Logging%20Service/Overview.md
[ManualRemove]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Manually%20removing%20old%20configuration%20data.md
[ManualUpdate]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Manually%20update%20databases.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[MSDTC]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Transactions%20MSDTC.md
[Portal SQL Server]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/03%20-%20Infrastructure.md#configure-sql-server-connectivity
[Remove duplicate Endpoints]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Remove%20duplicate%20Endpoints.md
[SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN.md
[SQL Server Options]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Options.md
[SQL Server SPN]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SPN%20for%20SQL%20Server.md
[SQL Server Sysadmin Requirements]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/SQL%20Server%20Sysadmin%20Requirements.md
[Troubleshooting]:{ndr}/Install%20and%20Update/Troubleshooting/Overview.md
[Updating Nodinite v7]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Updating%20Nodinite%20v7.md