2009-12-25 73 views
19

我在Windows 7(64位)上安裝了SQL Server 2008 Developer。在SQL Management Studio中,我無法註冊默認實例MSSQLSERVER。儘管服務正在運行,但找不到它。我得到的消息:無法在SQL Server 2008中註冊默認實例MSSQLSERVER

Cannot connect to PHOENIX\MSSQLSERVER.

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: 25 - Connection string is not valid) (Microsoft SQL Server, Error: 87)

但是SQL Server Management Studio中確實顯示了SQL Server 2005 Express實例(已安裝在VS 2008專業版),其表現爲已註冊。我使用Windows身份驗證,因爲我以混合模式安裝它。

如何使用SQL Server Management Studio連接到MSSQLSERVER實例?

回答

0

檢查服務器是否允許TCP/IP端口1433

這可以通過SQL Server 2008中配置管理器進行檢查的遠程連接。

轉到網絡配置並檢查是否啓用了tcp/ip。如果不啓用這個。

28

我總是連接爲:

[machine_name]/[instance_name]

,這是無法連接。什麼工作是連接簡稱爲:

[machine_name]

這可能是由於我運行一個默認實例的事實。

+0

荒謬!但它工作... :) – BritishDeveloper 2012-02-21 16:46:47

+0

酷!它也適用於我,謝謝! – 2012-06-19 04:03:08

+0

我也是通過指示[developer-PC]工作的,謝謝 – 2013-01-29 09:46:57