Others

Fix SharePoint Designer 2013 Database Connection Errors

Muhammad TalhaMuhammad Talha Nov 14, 2026 869 views

Question details

The user needs to create or edit a SQL database connection in SharePoint Designer 2013 without errors.

Fix Database Connection Errors in SharePoint Designer 2013
Product
SharePoint Designer 2013
Device & OS
not provided
Scenario
Creating or editing a SQL Server database connection for a SharePoint project, including a SharePoint Online site.
Observed behavior
SharePoint Designer 2013 may display an error when a database connection is added or edited, particularly when SQL Server authentication is used.
Before you start

Record the exact error message and confirm the SQL Server name, target database, and authentication method with your database administrator. Check whether the SharePoint site is hosted online or on-premises, because the server must be reachable from the environment that uses the connection.

Solution 1Recommended

Check the SQL Server connection and authentication settings

Use these checks to identify whether the error is caused by connection details, SQL Server authentication, or network access.

1
Review the data source

Open the site in SharePoint Designer 2013 and select Data Sources in the navigation pane. Find the database connection you want to edit, or use the database connection command on the ribbon to start a new one.

2
Verify connection details

In the database connection settings, check the SQL Server and database names and the selected authentication method. If you use SQL Server authentication, ask the database administrator to verify that it is enabled and that the login has access to the target database.

3
Test the SQL login

In SQL Server Management Studio, use Connect to connect to the same server with the intended authentication method. If the login fails, give the error to your database administrator; ask them to check the login's default database and access to the master database where relevant.

4
Check network access

Ask your SharePoint and SQL Server administrators to verify that the environment using the connection can reach the SQL Server and that the intended connection method is supported. A successful test from your own computer does not prove that SharePoint Online can reach the server.

5
Retry or seek support

Return to Data Sources in SharePoint Designer and retry adding or editing the connection. If it still fails, post the error, hosting environment, and troubleshooting results in a SharePoint support forum without including passwords or connection secrets.

Check the SQL Server connection and authentication settings
SharePoint Online connectivity: An on-premises SQL Server may not be directly reachable from SharePoint Online. Ask an administrator to assess a supported access method rather than exposing the server to the internet.
Free Microsoft Office alternative

Work with SQL data exports in WPS Office

WPS Office is a free, lightweight alternative for everyday document and spreadsheet work. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files, although it does not repair SharePoint Designer or SQL Server connections.

Review and analyze data exported from SQL Server in WPS SpreadsheetsOpen and edit Microsoft Excel XLSX filesUse a familiar interface for everyday office tasksMove existing Office documents into a lightweight workspace
microsoft office alternative - wps office

Frequently Asked Questions

Why can I connect to SQL Server locally but not through SharePoint?

Your computer and the environment using the SharePoint connection may have different network access. Ask an administrator to check server reachability and whether the connection method is supported for your SharePoint deployment.

What should I check when SQL Server authentication fails?

Confirm the server name and login details in the connection settings, then ask the database administrator to verify that SQL Server authentication is enabled and the login can access the target database.

Why should I check the master database?

A login can fail if its default database is unavailable or inaccessible. A database administrator can use SQL Server Management Studio to investigate the login, its default database, and access to master where relevant.

What information should I include in a support request?

Include the exact error, whether the site is SharePoint Online or on-premises, the authentication method, and the results of your SQL Server connectivity test. Remove passwords and other connection secrets before posting.