Solved

ODBC connection fails without fully qualified DNS name

Posted on 2010-11-18
6
679 Views
Last Modified: 2012-05-10
Hi,

I have a Database server (DBserver) that hosts an application (sql 2005 sp3) We have disabled named pipes as part of the requirements.
All the application servers are able to connect to it using TCPIP to the DBserver\instance with no problem except one
One server is unable to connect via odbc unless we do it with the IP address or the fully qualified hostname. (If we enable named pipes on the DB it works as well)
When we ping the DB server it does return the fully qualified name with the suffix, and comparig the network settings on the server we dont see any diffrence.

The application does not allow us to put in th full name....
Seems to be something wrong with the TCPIP
Anyone come across something similar?
0
Comment
Question by:neoptoent
6 Comments
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34163932
This sounds like a IP lookup problem to be honest. From the box that is trying to connect try doing..

ping DBHOSTNAME

Open in new window


If it resolves its the client not the host.
0
 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 250 total points
ID: 34164530
does that application server use WINS, rather than DNS, to resolve host names in a higher priority??
0
 

Author Comment

by:neoptoent
ID: 34164745
They are both setup to use DNS first
If I ping -a  the dbserver it resolves the correct dns suffix

I also tried removing WINs to see if that helped
0
 
LVL 20

Assisted Solution

by:Marten Rune
Marten Rune earned 250 total points
ID: 34171061
How many networks do you have, whats the subnet of the source and target servers (i e the server that cant connect and the sql server)?

Is DNS Suffix added in network settings for the malfunctioning server?

//Regards Marten
0
 

Author Closing Comment

by:neoptoent
ID: 34187827
Really needed cliconfg to change to get rid of named pipes
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Internet Speed Test 5 68
combine an MS SQL string in Idera DM 9 31
Group by and order by clause 28 36
Can’t delete a file 14 83
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

705 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now