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

# <i class="fal fa-database" aria-hidden="true"></i> SQL Server Troubleshooting

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

## <i class="fal fa-network-wired" aria-hidden="true"></i> Where SQL Server Fits in Nodinite

On Windows Server, every <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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.*

## <i class="fal fa-key" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and SQL Server

## <i class="fal fa-server" aria-hidden="true"></i> High Availability

* [Always On Availability Groups (AOAG)][AlwaysOn] — Configure and troubleshoot SQL Server Always On for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases; covers the listener, recovery model, and synchronization of new Log Databases

## <i class="fal fa-link" aria-hidden="true"></i> Linked Servers

* [Linked Servers][] — Configure linked servers between the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [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

## <i class="fal fa-database" aria-hidden="true"></i> 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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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

## <i class="fal fa-truck-moving" aria-hidden="true"></i> Migration

* [Database Migration][] — Move <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> databases to new disks, a new SQL Server instance, or a new host

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

* <i class="fal fa-list-check" aria-hidden="true"></i> [Install and Update Prerequisites][]  
* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Options][]  
* <i class="fal fa-link" aria-hidden="true"></i> [Linked Servers][]  
* <i class="fal fa-truck-moving" aria-hidden="true"></i> [Database Migration][]  

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

* <i class="fal fa-screwdriver-wrench" aria-hidden="true"></i> [Install and Update Troubleshooting][Troubleshooting]  
* <i class="fal fa-database" aria-hidden="true"></i> [Configuration Database][ConfigDB]  
* <i class="fal fa-database" aria-hidden="true"></i> [Log Databases][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Nodinite v7][]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Updating Nodinite v7][]  

[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[AlwaysOn]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[AutoRemove]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/automating-removal-of-old-log-databases/
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[Database Migration]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-migration/overview/
[DBRecovery]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/database-recovery-pending/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[Firewall]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/firewall/
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Install and Update Prerequisites]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/
[Install Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7/
[Linked Server RPC and RPC Out]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-server-rpc-and-rpc-out/
[Linked Servers]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/linked-servers/
[Log Databases]:https://docs.nodinite.com/core-services/log-databases/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[ManualRemove]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/manually-removing-old-configuration-data/
[ManualUpdate]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/manually-update-databases/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[Portal SQL Server]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/03-infrastructure/#configure-sql-server-connectivity
[Remove duplicate Endpoints]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/remove-duplicate-endpoints/
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[SQL Server Options]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[SQL Server SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn-for-sql-server/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[Troubleshooting]:https://docs.nodinite.com/install-and-update/troubleshooting/overview/
[Updating Nodinite v7]:https://docs.nodinite.com/install-and-update/getting-started/version-7/updating-nodinite-v7/