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