I know exactly what he's describing. He's making database connection strings via odbc and/or ado. I've definitely had these where the ADDRESS parameter simply refused to work as anything other than an ip address. Yet on the same server I've been able to use a host name.
I really don't know why but I believe it is either a problem with Microsoft's dns client and/or ADO. However, that said, it is best to put connection strings in one central place so you only have one place to change the IP if it is one of those strange cases that refuses to resolve a host name. Terry Fritts -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Ajay Tikoo Sent: Thursday, October 18, 2001 11:00 AM To: [EMAIL PROTECTED] Subject: RE: [IMail Forum] Off Topic: Find and Replace Program? Wherever an IP address can be used, a Host name can be used. But you need a DNS to resolve it. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Grant Griffith > - IMail > Sent: Thursday, October 18, 2001 11:25 AM > To: [EMAIL PROTECTED] > Subject: RE: [IMail Forum] Off Topic: Find and Replace Program? > > > I wish I could get away from hard coded IP's, but when opening a > connection > via SQL and ASP, you need the IP #. Is there another way to do this? I > have always been told the IP is what I should use. Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
