Acumatica – Can’t establish connection to database server

By | April 26, 2022

Acumatica ERP allows us to connect database server using Windows Authentication as well as SQL Server Authentication. There are some SQL configuration settings which needs to be handled for seamless connectivity of Acumatica with SQL server.

In this blog, we will be looking into one of the resolutions for the error that occurs at the time of configuring the Acumatica Instance.

While creating new Acumatica Instance, the initial step is to create database server connection as shown in the below image.

Database Server Connection

The below screenshot demonstrates the connectivity with “SQL Server Authentication” and the same issue appears if “Windows Authentication” is selected instead of SQL server.

SQL Server authentication

On click of Next button the error will pop up as below.

Error: – “Can’t establish connection to database server”.

The left section of the below screenshot displays the Inner Message of an error whereas the right section displays the stack trace.

Acumatica Config Wizard

Steps to resolve the above error are as follows:

  1. Open SQL Server Configuration Manager on which we have configured the Acumatica Database.
  2. Navigate to “SQL Server network Configuration” > Protocols for SQL > TCP/IP.
  3. Make sure that the TCP/IP is in Enabled mode.
  4. Double Click on TCP/IP to open the Properties dialog box.
  5. Move on the “IP Addresses” tab.
  6. Scroll to the end of the list and ensure that the IPALL has TCP Port value as 1433.
  7. Once done, restart the SQL Server and proceed with creating the database instance again.

TCP Port

This is how we can resolve the connection issue while creating the database instance for Acumatica ERP.

Greytrix, with its 22+ years of expertise as the Sage Development partner, extends its mastery to bring Acumatica to modern businesses. Greytrix offers complete end-to-end professional services for Acumatica, ranging from development, support, technical assistance, consulting, and system integrations.