Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL connection Issues

Posted on 2012-04-03
7
Medium Priority
?
242 Views
Last Modified: 2012-04-16
Trying to connect to SQL server 2008 r2 and i get the attached error message. Server is 2008 r2 Express, client is Windows 7 Pro. Both Firewalls have been disabled.
Untitled.jpg
0
Comment
Question by:nidul2004
7 Comments
 
LVL 16

Expert Comment

by:Deepak Chauhan
ID: 37802693
0. make sure tcpip is enabled

1. Use 'ping server' to test the network.
2. Use 'telnet server 1433' to ensure that the SQL Server is listening
on the port.

3. Check the Net-Library protocol configured by using 'Client Network
Utility'
on the client. Are they supported by the SQL Server? If you use Named
Pipes,please try to change it to TCP/IP.

4. Add an entry in the hosts file on the
client machine.
0
 

Expert Comment

by:expert9
ID: 37802704
you can try either of these solutions

1. Add an entry in the hosts file on the
client machine.
2. Check the Net-Library protocol configured by using 'Client Network
Utility'
on the client. Are they supported by the SQL Server? If you use Named
Pipes,please try to change it to TCP/IP.
3. Use 'ping server' to test the network.
4. Use 'telnet server 1433' to ensure that the SQL Server is listening
on the port.
5. Try again.

or

Change the dns server address form automatically to dedicated one(Network Connection>TCP/IP Protocol), then ping again
0
 
LVL 16

Expert Comment

by:Deepak Chauhan
ID: 37802721
other one but dont  work everytime

1. run sqlserver as administrator

2. click on option button on the login screen  and change default to tcpip in the network protocol section drop down box
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:nidul2004
ID: 37802915
0. TCPIP and Named pipes are enabled
1. Can ping yes
2. Can not telnet to port 1433.

My SQL Server Agent is set to auto, but will not stay started.
0
 
LVL 8

Expert Comment

by:POracle
ID: 37818472
Your port might be block or sql server might listening to other port.

Read this article, it explain in detail
http://support.microsoft.com/kb/823938

Let us know if your prob. still not resolved
0
 

Accepted Solution

by:
nidul2004 earned 0 total points
ID: 37834859
Port was open, but for some reason SQL browers service was not started. Set to automatic, problem solved.
0
 

Author Closing Comment

by:nidul2004
ID: 37850379
Solved own problem
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question