2011-12-26 122 views
0

我正在使用SQL Server 2008 R2。做了以下步驟。但它不允許我遠程連接到服務器。sql server 2008遠程連接登錄

1)在PC-1上,通過Windows身份驗證模式登錄。 (server name=My-PCusername=amp\user1

2)在安全選項卡下,創建新的登錄說u1。

3)然後在u1作爲所有者的數據庫節點sat test下創建新數據庫。

我想從另一臺PC上說P​​C-2與My-PC位於同一網絡上,我想用u1用戶登錄到測試數據庫。

在我的電腦上我遵循指定的步驟Here

但是當我嘗試從PC-2連接到測試時,它會給出以下錯誤。我錯過了什麼步驟?

A network-related or instance-specific error occurred while establishing a connection to sql server. A server was not found or was not accessible. Verify that the instance name is correct and that SQL server configuration to allow remote connections. (provider: Named pipes provider, error 40- could not open a connection to sql server) (Microsoft SQL server, Error: 5)

+0

從另一臺計算機連接http://msdn.microsoft.com/en-us/library/ms345343.aspx。 – 2011-12-26 06:20:31

回答

1

您是否檢查了兩臺計算機上的Windows防火牆設置?

here 「配置您的SQL Server防火牆」

這通常是接下來的事情我會檢查,因爲我不認爲防火牆是您除了在註釋中列出的鏈接中提到做下。

+0

非常感謝。它解決了我的問題。我添加了一個用於TCP 1433端口的例外。現在它允許連接到。 – ghetal 2011-12-26 06:31:08