Dovberman
asked on
Error connecting to SQL Server
A network-related or instance-specific error occurred while establishing a connection to
SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and that SQL Server is configured
to allow remote connections. (provider: Named Pipes Provider, error: 40 -
Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
Explanation
The SQL Server client cannot connect to the server. This error could occur because either the client cannot resolve the name of the server or the name of the server is incorrect.
User Action
Make sure that you have entered the correct server name on the client, and that you can resolve the name of the server from the client. To check TCP/IP name resolution, you can use the ping command in the Windows operating system.
How do I ping?
Thanks,
SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and that SQL Server is configured
to allow remote connections. (provider: Named Pipes Provider, error: 40 -
Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
Explanation
The SQL Server client cannot connect to the server. This error could occur because either the client cannot resolve the name of the server or the name of the server is incorrect.
User Action
Make sure that you have entered the correct server name on the client, and that you can resolve the name of the server from the client. To check TCP/IP name resolution, you can use the ping command in the Windows operating system.
How do I ping?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you are running Windows Firewall, turn it off. It may be blocking access. But you still need to make sure SQL Browser service is running.
ASKER
I can connect with Windows authentication only.
ASKER
I got it.
From the SQL Server Management Studio,
Use Windows Authentication to connect without a password.
Once connected, Choose Security-->Logins.
Choose SQL Server Authentication.
Enter a login name. Enter a password .
From the SQL Server Management Studio,
Use Windows Authentication to connect without a password.
Once connected, Choose Security-->Logins.
Choose SQL Server Authentication.
Enter a login name. Enter a password .
ASKER
Thanks for the ideas.
ASKER
However, I cannot find the new instance.