简体   繁体   中英

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:

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

What is this?

It means that the remote SQL server is configured to not allow remote connections.

From this forum discussion:

  1. Make sure SQL SERVER is up and the instance you try to connect is running.
  2. Your system Firewall should not block SQL Server port.
  3. Go to Computer Management >> Service and Application >> SQL Server 2005 Configuration >> Network Configuration Enable TCP/IP protocol. Make sure that SQL SERVER port is by Default 1433.
  4. Now follow this KB Article of MSDN depending on your server.

Are you sure you're connecting to a sql server 2000 instance?
Possibly it's been upgraded to 2005?

Try following the procedure here: http://support.microsoft.com/kb/914277 to allow remote connections.

By default, as a security feature, SQL Server 2005 does not enable connections from other machines on the network.

Verify that your SQL Server and its databases are suitably secured (for example, have proper user accounts and passwords, etc.). Once you are satisfied, go to Start, Program Files, Microsoft SQL Server 2005, Configuration Tools, SQL Server Surface Area Configuration. Look for Database Engine, Remote Connections and change the setting to allow remote connections.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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