logo
search
Others

Fix SQL Server 2022 Computer Account Login Error in SolarWinds

Steve KSteve K Sep 28, 2026 869 views

Question details

The user needs to know if a SolarWinds server requires its own SQL login when connecting to SQL Server 2022 via a service account.

How to Fix SQL Server 2022 Computer Account Login Error
Product
SQL Server 2022 / SolarWinds
Device & OS
not provided
Scenario
Connecting a SolarWinds server to a SQL Server 2022 database instance using a Windows service account.
Observed behavior
The connection fails with the error message 'Could not find a login matching the name provided.'
Before you start

Ensure you have sysadmin or securityadmin privileges on the SQL Server 2022 instance so you can view and modify server-level logins.

Solution 1Recommended

Verify and Add the Computer or Service Account in SQL Server Logins

This solution ensures that the specific account used by SolarWinds (whether a domain service account or a machine account) is explicitly granted login rights in SQL Server.

When an application runs under a context like 'Network Service' or 'Local System' and connects over a network, it authenticates using the computer's machine account (Domain\ComputerName$). If a dedicated domain account is used, that exact account must be registered in SQL Server.

1
Open SQL Server Management Studio

Launch SSMS and connect to your SQL Server 2022 instance using an account with administrative privileges.

2
Navigate to Server Logins

In the Object Explorer, expand the 'Security' folder, right-click on 'Logins', and select 'New Login' from the context menu.

3
Add the SolarWinds Account

In the Login name field, enter the exact name of the account. If SolarWinds runs as a machine account, enter it in the format 'Domain\ComputerName$'. Click 'Search' to validate the name against your Active Directory.

4
Grant Required Roles

Navigate to 'Server Roles' and 'User Mapping' on the left panel to grant the necessary database permissions required by SolarWinds documentation, then click 'OK' to save.

Verify and Add the Computer or Service Account in SQL Server Logins
Restart Services: After adding the login, restart the SolarWinds services to force a fresh authentication attempt with the database.
Free Microsoft Office alternative

Analyze SQL Server Data Efficiently with WPS Office

While troubleshooting SQL Server 2022 connection errors, you may need to export error logs or query configurations. WPS Office provides a free, lightweight suite to open database exports, analyze CSV files, and document server settings without consuming heavy system resources.

  1. 1. Export SQL Logs: Save your SQL Server error logs from SQL Server Management Studio as a CSV file.
  2. 2. Open in WPS Spreadsheet: Launch WPS Office and open the exported CSV file directly.
  3. 3. Analyze and Filter: Use built-in data filters in WPS Spreadsheet to isolate 'Login failed' events and identify the exact account name causing the issue.
Fully compatible with Microsoft Excel (.xlsx) and CSV formats for seamless database log analysis.Lightweight installation ensures your server or workstation resources remain unburdened.Completely free alternative with a familiar, easy-to-use interface for fast troubleshooting documentation.
microsoft office alternative - wps office

Frequently Asked Questions

Does a computer account need a SQL login if connecting via Network Service?

Yes. If an application service runs as 'Network Service' or 'Local System' and connects to SQL Server over a network, it authenticates using the machine account (e.g., Domain\ComputerName$). You must explicitly add this computer account to SQL Server logins.

Why does SQL Server return 'Could not find a login matching the name provided'?

This error triggers when SQL Server receives a connection request from a Windows account or SQL Auth credentials that have not been created under the SQL Server Security > Logins directory. The connecting account must match an existing entry exactly.

Can I use SQL Server Authentication instead of a Windows service account for SolarWinds?

Yes. SolarWinds supports both Windows Authentication and SQL Server Authentication. If domain authentication continues to fail, you can create a dedicated SQL server login (with a username and password) and configure SolarWinds to use those specific credentials.

How do I check which account SolarWinds is using to attempt the connection?

You can check the Windows Services application (services.msc) on the SolarWinds server. Right-click the primary SolarWinds service, select 'Properties', and look at the 'Log On' tab to see exactly which account is initiating the service.