Fix SharePoint Designer 2013 Database Connection Errors
Question details
The user needs to create or edit a SQL database connection in SharePoint Designer 2013 without errors.

- 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.
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.
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.
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.
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.
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.
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.
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.

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.

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.




