https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxMjQ1IiwiaGFzaCI6IjNmM2M4MGE2LTAzNDItNGFmMS05YzM5LTk0ZDU3MTE1MmRhYyJ9
1-800-691-1991 | 9am - 8pm ET
EN

Could not open a connection to SQL Server

Challenge

During a backup or replication job, or while attempting to launch the Veeam Backup client, you may witness this error message. This usually only occurs when utilizing a remote SQL database however, it will occur with local SQL instances as well.




Cause

A connectivity issue exists between the SQL Server and the Veeam Backup Server, in some cases you will  be able to ping the Server however, this usually indicates a problem with the SQL configuration.

Solution

The Surface Area Configuration is included with the Workstation Components with SQL installations. Use the SQL Server Surface Area Configuration to enable, disable, start or stop the features, services and remote connectivity of your SQL Server 2005 installations. You can use SQL Server Surface Area Configuration on local and remote servers.

You will first need to ensure named pipes is enabled under the Remote Connections of the Instance where the Veeam Backup database resides. It would be ideal to check the "Local and remote connections" radio button as well as "Using both TCP/IP and named pipes" to ensure connections in all scenarios.

User-added image

More information

You may also notice that the "Veeam Backup service" fails to start on the Veeam Server.
KB ID:
1245
Product:
Veeam Backup & Replication
Version:
5.x
Published:
2011-09-30
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later