Sql Server 2008连接失败

时间:2011-03-31 09:54:31

标签: sql-server-2008 sql-server-2008-express

我家里有两个互联网连接(假设是A和B),使用两个不同的调制解调器/路由器。我正在使用Sql Server 2008 Express客户端连接远程Sql Server 2008服务器实例。

当我使用互联网连接A时,我可以轻松连接,但从不使用连接B.我在下面给出了一个错误...

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: TCP
Provider, error: 0 - A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed because connected
host has failed to respond.) (.Net SqlClient Data Provider)

除了这个问题,两个连接都可以正常工作。我认为这是一个防火墙问题,并试图禁用它们,但结果相同。还尝试在连接属性中指定TCP / IP,命名管道但是徒劳无功。

请帮忙。

1 个答案:

答案 0 :(得分:0)

这可能是“表面区域”配置问题 - 请参阅此msdn article

默认情况下禁用远程连接 - 请参阅默认设置列表here

您可能还想查看此博客文章,其中显示了enable remote access to sql server express 2008

的步骤