1

我一直無法將我的SQL Server 2008 Express配置爲允許遠程連接。我遵循了本指南的說明:http://www.linglom.com/2009/03/28/enable-remote-connection-on-sql-server-2008-express/SQL Server Express - 遠程連接繼續失敗

我仍然得到以下錯誤:

Cannot connect to 00.00.00.000

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: Named Pipes Provider, error 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 3)

我也被配置爲在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/定義的防火牆。作爲測試,我甚至關閉了防火牆,但沒有任何改變,所以這不是問題。

更新服務器名稱下,它只表示IP地址。我需要更多東西嗎?

+0

你如何試圖連接到遠程實例 - SSMS,從代碼,其他東西......?錯誤消息的「命名管道提供程序」部分讓我認爲你使用了錯誤的連接方式... – 2011-06-09 19:12:37

+0

@Will A,我正在使用SQL Server Management Studio – smartcaveman 2011-06-09 19:14:03

回答

0

您是否擁有sql express中的sysadmin權限?這可能是您的用戶帳戶沒有必要的權限。在codeplex上有一個腳本,它將以系統管理員身份添加您登錄的帳戶。

+0

我正在使用sa登錄 – smartcaveman 2011-06-09 19:29:00