This error。 錯誤說明是:與SQL Server 2014建立連接時發生網絡相關或實例特定的錯誤當我嘗試連接服務器時返回了
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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
請加,什麼是設置正好等 –
轉到SQL Server配置管理器更多> SQL Server本機客戶端配置/ SQL Server網絡配置>客戶端協議>檢查是否TCP/IP和命名管道是否啓用。檢查此鏈接上的其他點。 http://stackoverflow.com/questions/18060667/why-am-i-getting-cannot-connect-to-server-a-network-related-or-instance-speci –
這可能是一打其他問題的副本。錯誤非常明顯 - 找不到服務器。最常見的原因與往常一樣:拼寫錯誤的服務器名稱,禁用的協議或阻止與服務器連接的防火牆。你的連接字符串是什麼?服務器正在運行嗎?你有沒有使用正確的實例名稱?錯誤代碼[僅當您嘗試連接到命名實例時纔會發生](http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error- locating-server-instance-specified.aspx)但實際的原因是一樣的 –