SQL Server 2008 连接失败

发布于 2024-10-29 01:31:02 字数 776 浏览 3 评论 0原文

我家里有两个互联网连接(假设 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、命名管道,但没有成功。

请帮忙。

I have two internet connections (let's say A and B) at my home using two different modem/routers. I am using Sql Server 2008 Express client to connect with a remote Sql Server 2008 server instance.

I can connect easily when I use my internet connection A but never with connection B. It shows me an error given below ...

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)

Other than this issue, both connections work perfectly fine. I assumed this to be a firewall issue and tried disabling them but with same result. Also tried specifying TCP/IP, Named Pipes in connection properties but in vain.

Please help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你的呼吸 2024-11-05 01:31:02

这可能是一个“表面积”配置问题 - 请参阅此 MSDN文章

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

您也可能想查看此博客文章,显示启用远程访问SQL Server Express 2008

this may be a "Surface area" configuration issue - see this msdn article

remote connections are disabled by default - see the list of default settings here

You may also like to review this blog post showing the steps to enable remote access to sql server express 2008

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文