简体   繁体   English

sql server 2000错误,尝试连接到sql server 2005时出错

[英]sql server 2000 error, error trying to connect to sql server 2005

i am connecting to sql server 2000 on a remote computer with a dotnet application, but when i try to open the connection it gives the following error: 我正在使用dotnet应用程序连接到远程计算机上的sql server 2000,但是当我尝试打开连接时,出现以下错误:

When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections 连接到SQL Server 2005时,此失败可能是由于以下事实导致的:在默认设置下,SQL Server不允许远程连接

What is this? 这是什么?

It means that the remote SQL server is configured to not allow remote connections. 这意味着将远程SQL Server配置为不允许远程连接。

From this forum discussion: 论坛讨论中:

  1. Make sure SQL SERVER is up and the instance you try to connect is running. 确保SQL SERVER已启动,并且您尝试连接的实例正在运行。
  2. Your system Firewall should not block SQL Server port. 您的系统防火墙不应阻止SQL Server端口。
  3. Go to Computer Management >> Service and Application >> SQL Server 2005 Configuration >> Network Configuration Enable TCP/IP protocol. 转到计算机管理>>服务和应用程序>> SQL Server 2005配置>>网络配置启用TCP / IP协议。 Make sure that SQL SERVER port is by Default 1433. 确保默认情况下,SQL SERVER端口为1433。
  4. Now follow this KB Article of MSDN depending on your server. 现在,根据您的服务器,遵循MSDN的这篇知识库文章。

Are you sure you're connecting to a sql server 2000 instance? 您确定要连接到sql server 2000实例吗?
Possibly it's been upgraded to 2005? 可能已经升级到2005年了吗?

Try following the procedure here: http://support.microsoft.com/kb/914277 to allow remote connections. 请尝试按照以下步骤操作: http : //support.microsoft.com/kb/914277以允许远程连接。

By default, as a security feature, SQL Server 2005 does not enable connections from other machines on the network. 默认情况下,作为一项安全功能,SQL Server 2005不启用来自网络上其他计算机的连接。

Verify that your SQL Server and its databases are suitably secured (for example, have proper user accounts and passwords, etc.). 验证您的SQL Server及其数据库是否受到适当保护(例如,具有正确的用户帐户和密码等)。 Once you are satisfied, go to Start, Program Files, Microsoft SQL Server 2005, Configuration Tools, SQL Server Surface Area Configuration. 如果满意,请转到“开始”,“程序文件”,“ Microsoft SQL Server 2005”,“配置工具”,“ SQL Server外围应用配置器”。 Look for Database Engine, Remote Connections and change the setting to allow remote connections. 查找“数据库引擎”,“远程连接”,然后更改设置以允许远程连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM