Others

Fix SharePoint 2019 Configuration Wizard Cannot Find SQL Server

Natalie TaylorNatalie Taylor Oct 26, 2026 868 views

Question details

The user is unable to connect to the SQL Server using the SharePoint 2019 Product Configuration Wizard during the initial farm setup process.

How to Fix SharePoint 2019 Configuration Wizard Cannot Find SQL Server
Product
SharePoint Server 2019
Device & OS
Windows Server
Scenario
Running the SharePoint 2019 Product Configuration Wizard to set up a new SharePoint farm or join an existing one.
Observed behavior
The setup wizard fails to find or establish a connection to the specified SQL Server database, despite firewalls being disabled, network ports opened, and SQL permissions granted.
Before you start

Verify that you have the correct SQL Server hostname or IP address, and ensure the account running the Configuration Wizard possesses the dbcreator and securityadmin server roles in SQL Server.

Solution 1Recommended

Enable TCP/IP and Verify SQL Server Services

Ensure that the SQL Server network protocols are enabled and the necessary services are running to allow remote connections from the SharePoint server.

Even if firewalls are turned off, SQL Server instances default to disabling remote connections via TCP/IP. The SQL Server Browser service must also be active if you are connecting to a named instance.

1
Open SQL Server Configuration Manager

Log in to your SQL Server machine, press the Windows key, type 'SQL Server Configuration Manager', and launch the application.

2
Enable TCP/IP Protocol

Expand 'SQL Server Network Configuration' and click on 'Protocols for [YourInstanceName]'. Right-click 'TCP/IP' in the right pane and select 'Enable'.

3
Check SQL Server Browser Service

Click on 'SQL Server Services' in the left pane. If you are using a named instance, ensure the 'SQL Server Browser' service is running. If it is stopped, right-click it, go to Properties, set the Start Mode to Automatic, and start the service.

4
Restart SQL Server

Right-click your main 'SQL Server ([InstanceName])' service and click 'Restart' to apply the protocol changes.

Enable TCP/IP and Verify SQL Server Services
Port Verification: To ensure SQL is listening on the right port, double-click TCP/IP, go to the IP Addresses tab, and scroll to the bottom to verify the 'TCP Dynamic Ports' or 'TCP Port' settings under IPAll.
Free Microsoft Office alternative

Manage Your IT Server Documentation with WPS Office

While troubleshooting complex server connections like SharePoint and SQL, IT professionals need a reliable tool to read error logs, edit configuration scripts, and document deployment procedures. WPS Office provides a free, lightweight suite that handles your essential documentation tasks seamlessly.

  1. 1. Download and Install: Visit the official WPS Office website to download the lightweight installer for Windows.
  2. 2. Analyze Server Logs: Use WPS Spreadsheet to open exported CSV server logs and apply filters to quickly locate connection errors.
  3. 3. Document Procedures: Use WPS Writer to draft troubleshooting steps and seamlessly export them to PDF for your IT team.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight installation ideal for servers, avoiding heavy resource consumption.Easily open and filter exported SQL CSV logs using the built-in Spreadsheet application.Built-in PDF toolkit for reading technical manuals and deployment guides.Tabbed interface allows viewing multiple configuration documents in a single window.
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint 2019 fail to connect to SQL Server despite firewalls being disabled?

Even with firewalls completely disabled, the connection will fail if the TCP/IP protocol is disabled within SQL Server Configuration Manager, or if the SQL Server Browser service is not running for named instances.

What permissions does the SharePoint setup account need in SQL Server?

The user account running the Configuration Wizard must be assigned the securityadmin and dbcreator server roles in the destination SQL Server to successfully create and configure the SharePoint database.

How can I check the exact error when the SharePoint Configuration Wizard fails?

You can find detailed error logs in the SharePoint trace log directory, which is typically located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\LOGS.

Can I use SQL Server Express for a SharePoint 2019 production farm?

No, SharePoint Server 2019 does not support SQL Server Express for production environments. You must use a Standard or Enterprise edition of SQL Server 2016, 2017, or 2019.