Skip to content
logo Knowledgebase

Error: "Warning: The software is unable to connect to your SQL database"

Created on  | Last modified on 

Summary

When launching Sage Taxation, you may receive this message.

Description

When launching Sage Taxation, you may receive the following prompt:

Warning: The software is unable to  connect to your SQL database
This may be a temporary problem. Click OK to close the software and try opening it again.
If you are still unable to connect after following the advice call our Support Teams on 0191 479 5999.

Resolution

 

 

 

Initial steps to take

The resolution to this will vary, depending on the error message shown by clicking the Details button. If this is firewall related, or SQL isn't running, the following will be shown:

Timeout - 'SERVER\SAGESPS' may not be accessible or the SQL instance is not running.

If you are experiencing issues accessing the software, please select your install type:

Standalone installation Network installation

Configuring the Windows firewall

Even if the Windows firewall is turned off on the server, it can still block connections for certain services (such as Microsoft SQL Server)

Once you've been through the initial troubleshooting steps, you may need to run through the following to add these exceptions:-

  1. On your SQL server select Start and type 'cmd' into the search box

    TIP: On Windows 10 / Server 2012 and later, right click the start button and select Command prompt (Admin)

  2. After a moment, cmd.exe will appear in the list. Right click on it and select Run as administrator

    Accept the User Account Control prompt stating "Do you want to allow the following program to make changes to your computer?"

  3. Highlight the commands contained below, right click and select copy
  4. In the command prompt window, right click and select paste, then press the enter key when the last line is reached.
netsh advfirewall firewall add rule name="Sage Taxation 1433" dir=in action=allow protocol=TCP localport=1433

netsh advfirewall firewall add rule name="Sage Taxation 1433" dir=out action=allow protocol=TCP localport=1433

netsh advfirewall firewall add rule name="Sage Taxation 1434" dir=in action=allow protocol=UDP localport=1434

netsh advfirewall firewall add rule name="Sage Taxation 1434" dir=out action=allow protocol=UDP localport=1434

netsh advfirewall firewall add rule name="Sage Taxation 31415" dir=in action=allow protocol=UDP localport=31415

netsh advfirewall firewall add rule name="Sage Taxation 31415" dir=out action=allow protocol=UDP localport=31415

netsh advfirewall firewall add rule name="Sage Taxation 31415" dir=in action=allow protocol=TCP localport=31415

netsh advfirewall firewall add rule name="Sage Taxation 31415" dir=out action=allow protocol=TCP localport=31415

netsh advfirewall firewall add rule name="Sage Taxation 31416" dir=in action=allow protocol=UDP localport=31416

netsh advfirewall firewall add rule name="Sage Taxation 31416" dir=out action=allow protocol=UDP localport=31416

netsh advfirewall firewall add rule name="Sage Taxation 31416" dir=in action=allow protocol=TCP localport=31416

netsh advfirewall firewall add rule name="Sage Taxation 31416" dir=out action=allow protocol=TCP localport=31416

netsh advfirewall firewall add rule name="File sharing 137-139" dir=out action=allow protocol=TCP localport=137-139

netsh advfirewall firewall add rule name="File sharing 137-139" dir=in action=allow protocol=TCP localport=137-139

netsh advfirewall firewall add rule name="File sharing 445" dir=out action=allow protocol=TCP localport=445

netsh advfirewall firewall add rule name="File sharing 445" dir=in action=allow protocol=TCP localport=445

5. Restart the server/workstation.

 

NOTE: This will only configure the Windows firewall, it won't affect any third party firewalls you may have installed. For further information on the exceptions for third party firewalls, please see the "Adding firewall exceptions" section for details of ports to configure.

 

Upgrade your licence

Growing business? Add more companies, users, or employees to your licence with ease. Leave your details and we’ll be in touch.

Leave your details

Image