我在一臺機器上安裝了SQL Server 2012。我使用另一臺機器上的鏈接服務器成功連接了它。然而,當我試圖從另一臺同一臺計算機連接在同一網絡上的同一臺計算機時,出現以下錯誤:請注意,我已經檢查過我可以從SQL Server Management Studio評估SQL Server,但它不會連接,如果我嘗試使用鏈接服務器進行。我已經檢查過tcp,命名管道是啓用的。任何建議SQL鏈接服務器命名管道提供程序 - 錯誤5
錯誤:
Named Pipes Provider: Could not open a connection to SQL Server [5].
OLE DB provider "SQLNCLI11" for linked server "MAL_SQL" returned message "Login timeout expired".
OLE DB provider "SQLNCLI11" for linked server "MAL_SQL" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.". (.Net SqlClient Data Provider)
您在SQL配置管理器中啓用了'Named Pipes Provider' – 2014-10-10 13:31:51