Potential causes of the "SQL Server does not exist or access denied" error message

Note: For troubleshooting connection issues to SQL Server, use the following troubleshooter: Solving Connectivity errors to SQL Server

Summary

"SQL Server does not exist or access denied" is a generic Microsoft Data Access Components (MDAC) message that indicates that the computer that is running Microsoft SQL Server cannot be contacted. This generic message has many potential causes.

Additionally, the following error messages also have similar causes:
SQL Server is unavailable or does not exist.
The specified SQL Server is not found.

Important The "SQL Server does not exist or access denied" message does not indicate the following:
  • The logon process to SQL Server failed.
  • SQL Server does not have the correct permissions to process the query.
  • You cannot use SQL Server authentication because only Windows authentication is permitted.

You are using "LocalHost" in an ADO connection string. This is not supported; use "(local)" or the computer name instead. Per "SOX001027700080 SQL INF Server - Connectivity: Using LocalHost" this is not supported and it may or may not work. However, some "How To" articles use LocalHost in their examples.
Author: CGROSS (2002-08-21T09:32:00) Edit Reviewer: V-RROYER (2002-10-17T13:08:00) Tech Reviewer: UTTAMKP (2002-09-27T13:25:00)
Thuộc tính

ID Bài viết: 328306 - Xem lại Lần cuối: 23-01-2017 - Bản sửa đổi: 2

Microsoft SQL Server 2000 Standard Edition, Microsoft SQL Server 7.0 Standard Edition, Microsoft SQL Server 2005 Standard Edition, Microsoft SQL Server 2005 Express Edition, Microsoft SQL Server 2005 Developer Edition, Microsoft SQL Server 2005 Enterprise Edition, Microsoft SQL Server 2005 Workgroup Edition

Phản hồi