且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SQL Server 2008中的连接问题

更新时间:2023-02-22 19:09:08

如果您以前一直在连接,而现在突然没有连接,那么*某些东西*现在必须有所不同.

如果您尚未更改代码,则*某物*必须与网络相关.

您需要检查的一些区域是:

1.数据库用户是否获得了适当的权限?
2.网络防火墙是否阻止对适当端口的访问?
3.服务器/数据库名称是否已更改?

您可能需要对此进行更深入的研究,并发布一些有关如何连接的代码...
If you have been connecting previously, and now it suddenly isn''t connecting, *something* must now be different.

If you haven''t changed the code, then that *something* must be network related.

Some areas for you to check would be:

1. Has the database user got the appropriate permissions?
2. Is the network firewall blocking access to the appropriate ports?
3. Has the server/database name changed?

You may need to delve a little deeper into this, and post some code about how you are connecting...