기술 문서

Cannnot access SQL Server



Article Summary: This article addresses an error that may occur when attempting to connect to a SQL server.


Issue:

A connection attempt to a SQL Server results in an error: "Could not open a connection to SQL server [53]." due to incorrect credentials or protocol configuration

Solution:

Follow the steps in the solution to resolve the issue.

1. Ensure the correct Windows credentials are supplied when connecting to the SQL Server. The current user's Windows credentials are used when Windows Authentication mode is selected on the SQL Server. The current user's Windows credentials may not be configured to access the SQL Server even though they may have elevated local or domain credentials such as belonging to the group Domain Admins or when using the Administrator account.

2. The Windows Firewall must be configured to allow access to the SQL Server. Refer to the following solution.

3. Enable the protocols on the SQL Server instance by following these steps.

a. Press Windows Logo key, type SQL Configuration Manager, right-click on it, choose Run as administrator and press Enter to open SQL Server Configuration Manager.

b. Click to arrow next to SQL Server Network Configuration to expand it.

c. Click Prococols for SQLInstance where SQLInstance is the name of the SQL Server Instance that requires configuration.




d. Ensure Shared Memory and TCP/IP are Enabled. Enable them if necessary by double-clicking on the Protocol Name and set Enabled to Yes. Click OK to save the changes.




e. Click SQL Server Services, right-click SQL Server (SQLInstance) where SQLInstance is the name of the SQL server instance and click Restart to restart the SQL Server service.



Additional Information:

This information applies to SQL Server 2012.

The error: "Could not open a connection to SQL server [53]." can be due to the use of incorrect credentials supplied during the connection process or the SQL server protocol configuration is incorrect. There may be multiple SQL Server instances on the server and each instance requires the correct protocol configuration.

Additional information about SQL Server Configuration Manager can be found on TechNet.




Quick Tips content is self-published by the Dell Support Professionals who resolve issues daily. In order to achieve a speedy publication, Quick Tips may represent only partial solutions or work-arounds that are still in development or pending further proof of successfully resolving an issue. As such Quick Tips have not been reviewed, validated or approved by Dell and should be used with appropriate caution. Dell shall not be liable for any loss, including but not limited to loss of data, loss of profit or loss of revenue, which customers may incur by following any procedure or advice set out in the Quick Tips.

문서 ID: SLN290332

최종 수정일: 02/25/2015 01:47 PM


이 문서 평가하기

정확함
유용함
이해하기 쉬운
이 문서가 도움이 되셨나요?
지원 미지원
피드백을 보내 주십시오.
의견에는 <>()\와 같은 특수 문자를 사용할 수 없습니다.
죄송합니다. 현재 피드백 시스템은 사용하실 수 없습니다. 잠시 후에 다시 시도하십시오.

피드백을 보내주셔서 감사합니다.