Solved

SQL connection Issues

Posted on 2012-04-03
7
235 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 15

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 15

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
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

679 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