Re: strange ODBC connection problems
- From: "Patrick Peters" <patrick.peters@xxxxxxxxxxxxx>
- Date: Mon, 27 Jun 2005 13:53:25 -0500
We're using TCP for our connection, not named pipes.
Also, I should explain why we're trying to avoid using WINS. Everything I
read says that WINS is for backward compatibility. This is a new server, so
we're trying to go in "clean" so we don't have to worry about divorcing it
from WINS someday.
Thanks
Pat
"Terry" <ttrapp.spam.me.not@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7f3e9$42c0467d$45264c04$14491@xxxxxxxxxxxxxxx
> Do you have the netbios protocol installed on the SQL server? IIRC it is
> required when using named pipes as a connection method.
>
> --Terry
>
> "Patrick Peters" <patrick.peters@xxxxxxxxxxxxx> wrote in message
> news:%23jAd6C0eFHA.1328@xxxxxxxxxxxxxxxxxxxxxxx
> > We have a mysterious problem connecting to a SQL database with ODBC.
> Here's
> > a little background on our environment:
> > - We're connecting to a named instance of SQL 2000 on a Win 2003 Server
> > cluter. The virtual server name and the instance name are the same (so
> the
> > nomenclature to describe the instance would be something like
"FRED\FRED".
> > - The client is Windows XP, SP1.
> > - We're trying to set all this up without using WINS, so there are no
WINS
> > resolutions for for the server cluster or any of its virtual servers.
> >
> > So, we try to set up a System DSN with a connect string that looks like
> > "FRED.TEST.DOM\FRED" and ODBC can't connect. I can use nslookup to
> resolve
> > FRED.TEST.DOM without a problem. I can ping FRED.TEST.DOM. I can
> > substitute FRED's IP address in the server name field
("10.20.30.40\FRED")
> > and it works like a charm.
> >
> > I've set up a sniffer to see what's going on. When I specify
> > "FRED.TEST.DOM\FRED" the client is trying its best to resolve FRED using
> > WINS, broadcasting for name resolution, etc. It's completely ignoring
the
> > fact that I gave it a fully qualified domain name to work with. If I
> could
> > just beat ODBC into doing DNS resolution, I'd be in great shape.
> >
> > I've looked around for examples of how to connect to a named instance
> using
> > a DNS name, but I can't find an example of this anywhere.
> >
> > Does anyone have an idea?
> >
> > Thanks
> >
> > Pat
> > patrick.peters (AT) orametrix.com
> >
> >
>
>
.
- Follow-Ups:
- Re: strange ODBC connection problems
- From: Terry
- Re: strange ODBC connection problems
- References:
- strange ODBC connection problems
- From: Patrick Peters
- Re: strange ODBC connection problems
- From: Terry
- strange ODBC connection problems
- Prev by Date: Re: strange ODBC connection problems
- Next by Date: Re: strange ODBC connection problems
- Previous by thread: Re: strange ODBC connection problems
- Next by thread: Re: strange ODBC connection problems
- Index(es):
Relevant Pages
|