SQL Server 2008 R2 连接问题

发布于 2024-12-14 10:29:32 字数 306 浏览 1 评论 0原文

我们已经安装了 SQL Server 2008 R2 Developer 版本,出于测试目的,我们将该计算机设置为本地服务器。

当我们尝试从其他计算机 Visual studio 2010 或 SQL Server Management studio 进行连接时,它工作正常。

但一段时间后突然连接无法正常工作。 (可能是因为 6 个用户同时尝试使用 SQL Server)。根据设置,它被设置为无限制访问。

如果我们重新启动机器,它会再次正常工作几个小时,然后我们再次遇到这个问题

有人知道为什么会这样吗?

提前致谢

We have Installed SQL Server 2008 R2 Developer edition, for testing purpose we have put that machine as Local server.

When we try to connect from other machines Visual studio 2010 or from SQL Server Management studio, it works fine.

But after some time suddenly the connection is not working. (might be because of 6 users are trying to use the sql server at the same time). As per setting it is set as unlimited access.

If we restart the machine it works fine again for some hours then again we face this problem

Anyone have any idea why it is happening this way?

Thanks in advance

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

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

发布评论

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

评论(1

面犯桃花 2024-12-21 10:29:32

您需要确保在打开连接时关闭它们。如果您打开与数据库的连接并且从不关闭它们 - 最终您将耗尽它们并且服务器将不得不重新启动。确定哪些内容未释放连接或哪些内容未使用连接池。

You need to be sure you close your connections when you open them. If you open connections to the database and never close them - eventually you'll run out of them and the server will have to be restarted. Determine what is not disposing the connections or what isn't using connection pooling.

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