Failed to connect to the existing server farm located at the specified database server and databse name. The database name is not a valid configuration dabatase

Rahul Gollapalli 131 Reputation points

Hi Team,

We are planning to upgrade the OS on SharePoint server, however MS team not recommending the in-place OS upgrade, that's why we are trying to add the new application SharePoint 2016 server to the farm.

New server details : Windows server 2019 standard updated patches.
OLD servers details: Windows server 2012 R2 with updated patches.

New server setup is successfully configured:

  1. Enable roles and features
  2. .net frames
  3. SP prerequire sites
  4. SP 2016 installation
  5. Patches (SP1, SP2, May 2021 PU KB5001917)
  6. When run the SharePoint Configuration wizard it is getting failed to connect the Database.


Service account has SYS admin permission in SQL instance,
TCP port is enabled,
UDL connectivity is successed,
Pinging the both servers, telnet, tracert.
Instance name is correct,

Farm Details:

OLD SP 2016 App Server1 : OS windows 2012r2 VMware SP 2016 patch KB5001917

OLD SP 2016 WFE Server2 : OS windows 2012r2 Hyper-V SP 2016 patch KB5001917

New SP 2016 APP Server 3: OS windows 2019 Hyper-V SP 2016 patch KB5001917

OLD DB 2016 RTM: OS windows 2019 Hyper-V



Please Help

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
11,633 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,707 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Echo Du_MSFT 17,061 Reputation points

    Hi @Rahul Gollapalli ,

    Welcome to Q&A Forum!

    Please perform the following troubleshooting:

    1.Make sure the SQL Server and SQL Server Browser services are running at all times on the server hosting your SQL instance.


    2.Check and disable Windows Firewall on the SQL Server


    Here are a few good blogs that might help you:

    Echo Du


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Rahul Gollapalli 131 Reputation points

    Issue Resolved::

    I have configured the Cliconfg.exe in SharePoint Server, In which SharePoint server you are unable to connect to the database even all parameters are working.

    1. Cliconfg.exe run the command as administrator in windows PowerShell.
    2. Select alias and click ADD
    3. choose the TCP/IP
    4. Provide Server alias name, it is instance name or lister name
    5. provide DB Server Hostname
    6. Provide DB instance port number by default 1433
    7. Click OK and again OK
    8. Now restart the server and run the SharePoint configure wizard.
    1 person found this answer helpful.
    0 comments No comments