ERROR - Cannot connect to the SQL Server database defined in data source connection AdventureWorks

Table of Contents

When trying to connect to a data source in SharePoint Designer for BCS you may get this error:

"Cannot connect to the SQL Server database defined in data source connection AdventureWorks"

"A network-related or instance-specific error ocurred while establishing a connection to a SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Name Pipes Provider, error: 40 - Could not open a connection to SQL Server)"

Check 1: Named Pipes

Ensure "Named Pipes" are "Enable" in SQL Server Configuration Manager in SQL Server Network Configuration | Protocols for MSSQLSERVER.


If it is disabled (as above), right click and click Enable. Then click on "SQL Server Services" in tree and start and stop the "SQL Server (MSSQLSERVER)" Service.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. Hosted generously by CustomWare