Re: ODBC failing to connect



I tried the following with still no luck.
First off I went into the SQL Server logs and found out that it is listening
in on TCP port 2440, it also mentioned 2441.
I then went to the ISA server and created protocol that allows inbound and
outbound connections on 1433, 2440, and 2441. I created an access rule that
allows any of the protected networks and the local host to access the new
protocol I created with the SQL server.
I went back to the SQL server machine, and started up the profiler to run a
trace.
Back to the ISA machine, and opened up telnet and tried to connect to SQL
server machine via 1433, then 2440, then 2441. Each time connect failed. I
also tried a static IP on the ODBC set for 2440. And each time as the same
before.
I looked over the SQL Profiler trace and it does not even show any
connection attempts from the ISA machine.
Pinging and PathPinging show good connections. Plus a looking over the
ports on the SQL server machine show that it is listening on those ports.
Still scratching my head.

Michael R. Mastro II
"Sue Hoegemeier" <Sue_H@xxxxxxxxxxxxx> wrote in message
news:iejdr215njd7fp0taafif3lcsdb508i420@xxxxxxxxxx
It can be a lot of different things. Enable login auditing
or run profiler to see if it's actually connecting on the
SQL Server end. It just makes troubleshooting easier.
If it's a named instance, make sure you are specifying the
instance name.
You'd also want to check your ports and protocols - one way
to check is look in the SQL Server error log from when it
started up to determine what ports and protocols SQL Server
is listening on.
From the ISA server, try to telnet to the port SQL Server is
listening on. Make sure the client end (ISA) is using the
same port.
Make sure SQL Server is listening on the correct protocols
as well. Make sure you have TCP/IP enabled.
And then run through the following article:

Potential causes of the "SQL Server does not exist or access
denied" error message
http://support.microsoft.com/?id=328306


-Sue

On Tue, 23 Jan 2007 10:03:10 -0500, "Michael Mastro"
<MikeRM2XXX@xxxxxxxxxxxxxxxx> wrote:

Ok here is the problem. I am trying to set up logging on SQL 2005. Now I
am trying to setup the OBDC on the ISA server and it is failing each time.
It cannot reach the server. Every other computer in the domain can access
the SQL server via OBDC. So what am I missing to do that on the ISA
server.
I am running ISA 2006 Enterprise, and have set the system policy to use
SQL
for logging. Plus I have a access rule that allows SQL through ISA.
Anyone
know what I missed?

TCP/IP is set up as dynamic, and I can ping the SQL Server.

The following is the failure I get from ODBC:
Connection failed:
SQLState: '01000'
SQL Server Error: 10065
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]ConnectionOpen
(Connect()).
Connection Failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does not
exist
or access denied.


Thanks,

Michael R. Mastro II




.



Relevant Pages

  • RE: Cannot Access SQL Server
    ... Is there something else loaded on ISA that could be listening? ... Is ISA the default gateway for the SQL server? ... | Content-Class: urn:content-classes:message ...
    (microsoft.public.isa.clients)
  • Re: SP1 ISA fails to upgrade MSDE SP3
    ... John - I'm going to see if your info is applicable and try it out if ... See my post below entitled "SP1: ISA 2004 did not ... > the fully expanded path of "%ProgramFiles%\ Microsoft SQL Server ... >> seems to be working, though, and otherwise the upgrade seems to be OK. ...
    (microsoft.public.windows.server.sbs)
  • Connecting to SQL server 7 behind ISA server
    ... [ODBC SQL Server Driver] ... I can telnet the ISA external IP on both ports. ... I ran thru a similar problem when I configured it for the proxy 2 years ago ...
    (microsoft.public.isaserver)
  • Connecting to SQL server 7 behind ISA server
    ... [ODBC SQL Server Driver] ... I can telnet the ISA external IP on both ports. ... I ran thru a similar problem when I configured it for the proxy 2 years ago ...
    (microsoft.public.sqlserver.connect)
  • RE: How can I block attempts to hack into my SQL server?
    ... I already have a rule in ISA to deny traffic incoming and outgoing through ... I have tried blocking incoming and outgoing traffic on port 1433 in ISA ... My SQL server is set to use windows authentication. ...
    (microsoft.public.sqlserver.security)