我有这个连接字符串
<add name="ApplicationServices" connectionString="Data Source=local;Initial Catalog=mycatalog;Integrated Security=True"
providerName="System.Data.SqlClient"/>
问题是我认为的数据源local
是错误的,因为我不断收到此错误
A network-related or instance-specific error occurred while establishing a connection to 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
正确的连接字符串应该是什么?