2015-11-24 81 views
4

好吧,很多人都發布了類似的問題,但我似乎無法找到解決方案,我的問題在他們中的任何一個。所以這是我的情況。SQL網絡接口錯誤26 - 錯誤定位服務器/實例指定

昨天我通過SQL Server Management Studio與我的SQL Server Express一起工作。我閉上我的項目,我以前和今天早上做了多次,當我試圖用工具再次連接是給了我這個錯誤:

TITLE: Connect to Server

Cannot connect to .\SQLExpress.

ADDITIONAL INFORMATION:

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 Express? PS:以下是一些系統統計數據。我工作在Windows 10機器上,和SQL Server Management Studio中的版本是2014年

+2

http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not- open-a-connection-to-sql-server-microsoft-sql-server-error/ – mohan111

+0

@Jonathan:它的工作。你能否做出回答,以便我解決這個問題? –

+1

肯定@邁克爾我會框架和發佈 – mohan111

回答

5
  1. 打開SQL Server配置管理器

  2. 點擊SQL Server Network Configuration並點擊Protocols for Name

  3. 權點擊TCP/IP(確保它已啓用),點擊Properties

  4. 選擇IP Addresses選項卡並轉到最後一項:IP All

  5. 輸入TCP Port 1433

現在重新啓動「SQL Server .Name」。使用services.msc(winKey + r)

相關問題