Solved

ODBC connection fails without fully qualified DNS name

Posted on 2010-11-18
6
684 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:
bbao 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
An article on effective troubleshooting
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

813 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

15 Experts available now in Live!

Get 1:1 Help Now