Re: Publish SQL 2000 to Inet

Tech-Archive recommends: Speed Up your PC by fixing your registry



Thanks for your time Virgil, I've been working around my issue. I need to
Register the SQL Server instance on a remote machine using SQL Enterprise
Manager. I'm not trying to open an ODBC connection.

Besides that, after your reply I tried to open an ODBC connection from a
workstation on the LAN looping back through ISA Server. I cannot estabish
the connection. I have disabled dynamic port detecting on the Client
Configuration.

As far as I've seen if I do not check the "Dynamically Determine Port"
option the client send an UDP datagram to port 1434 that my ISA Server of
course is rejecting. If I check the option "Dynamically Determine Port" the
client doesn´t send that datagram an directly tries to open an TCP
connection to port 1433 to the ISA Sever, after that the ISA Server is
supposed to estabish a connection to the SQL Server, but that never happens.
That TCP connection is the only entry that ISA Server is logging, nothign
else, I could not find any denied connection to find out what is happening.

Any further ideas?
Thanls a lot!

Beto

"ZVR" <nospamever@xxxxxx> wrote in message
news:nbudna15Y4Y_f97eRVn-ug@xxxxxxxxxxxxx
> OK,
>
> There's one other possible issue you might have. In the configuration of
> your ODBC data source/alias for SQL on the client workstation, make sure
> you go to the "Client Configuration" window and uncheck the "Dynamically
> determine port" option, then force the port number to 1433 (if that's the
> appropriate port now). The "dynamically determine port" option relies on a
> packet sent from the client to the SQL server with a request for the port
> number. This will fail because your client is not on the same subnet as
> your SQL Server anymore. But if you specify the port number manually in
> the Alias configuration as described above, it should work.
>
> To further compound the problem I seem to recall some issue with
> dynamically detecting port numbers of non-default SQL instances. I don't
> know or remember if that is still the case with the latest SQL Service
> Pack or not. I searched the MS KB for this one but couldn't find it - it's
> been a long time ago since I had that issue and it might have been fixed
> in the meantime. Anyways if you uncheck the "dynamic" option it should
> work, provided your server publishing rule has been properly configured
> (it seems OK to me).
>
> Virgil
>
>
>
>
> "beto @ southworks" <beto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:OYUdgJbyFHA.3696@xxxxxxxxxxxxxxxxxxxxxxx
>> Thanks for your reply Virgil! I'm using SQL Server authentication, for
>> testing purposes I've registered the SQL Server instance from a
>> workstation inside the LAN without looping through the ISA Server and
>> I've registered it succesfully.
>> So there is no doubt for me that it must be an ISA Server issue.
>>
>> I'm not sure if it is worth to comment but when I've installed SQL Server
>> I've configured the TCP/IP Port to 2866. Then I've change it to the
>> default port value (1433) to make sure that it wasn´t my problem.
>>
>> Thanks Again Virgil!
>>
>> "ZVR" <nospamever@xxxxxx> wrote in message
>> news:O9KdnXjXUaIER9_eRVn-iA@xxxxxxxxxxxxx
>>> What kind of authentication are you using with your SQL server?
>>> Integrated authentication or SQL-server authentication. In other words
>>> where is your SQL login defined - at the SQL Server level or as a
>>> Domain/active Directory account. If you're trying with Integrated
>>> Authentication it will probably not work because you don't have access
>>> to the domain database from the Internet.
>>>
>>> Virgil
>>>
>>>
>>>
>>>
>>> "beto @ southworks" <beto@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>>> news:eEor1VQyFHA.2132@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Hi! I need to publish a SQL2000 server to Inet through an ISA Server
>>>> 2004. Have tried everything I've found and I cannot get it working.
>>>> This is my configuration.
>>>>
>>>> * My SQL Server Machine is a SecureNAT client.
>>>> * I've run the server publishing wizard on the ISA Server machine and
>>>> published the SQL Server on it's default port (1433).
>>>> * SQL Server instance name IS NOT the Default instance name (does it
>>>> matters?)
>>>> * On the client machine (inet) I create an Alias using the ISA Server
>>>> Public IP Address as Server Name, so the client does not have to
>>>> resolve the connection port.
>>>>
>>>> When I try to register the SQL instance on the client machine I get:
>>>> "SQL Server registration failed because of the connection failure
>>>> displayed below. Do you wish to Register anyway?
>>>> SQL Server does not exist or access denied.
>>>> ConnectionOpen (Connect())"
>>>>
>>>> If I run a trace on the ISA Server to watch incoming connections I can
>>>> see that the incoming from the external IP address connection is not
>>>> being denied, but nothing happens.
>>>> I get the same if I try to Register the SQL Instance from a host in the
>>>> LAN looping through the ISA Server for testing purposes.
>>>>
>>>>
>>>> Is there a way to troubleshoot this Registration process? I can´t see
>>>> where it's being stopped or what is missing.
>>>> Thanks a Lot!
>>>>
>>>> Beto.
>>>>
>>>
>>>
>>
>>
>
>


.



Relevant Pages

  • Re: ADP problems after SQL 2005 Upgrade
    ... Use the SQL Server Configuration Manager to create aliases; ... each port can be associated only with a single instance. ... Sylvain Lafontaine, ing. ...
    (microsoft.public.access.adp.sqlserver)
  • [NT] Microsoft SQL Server 2000 Unauthenticated System Compromise
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Microsoft's database server SQL Server 2000 exhibits two buffer-overrun ... clients connecting to TCP port 1433 or both. ... This message is a single byte packet, ...
    (Securiteam)
  • Re: Do SqlServer 2000 & SqlServer 2005 co-exist
    ... Either SQL Server 2000 or SQL Server 2005. ... So you have to move one of them to another port. ... You could allow an program exception in your firewall instead of a port number exception. ... I understand that you can connect to SQL 2000 named instance on the local ...
    (microsoft.public.sqlserver.setup)
  • Re: IIS, SQL 2000 & XPs Firewall
    ... Only one instance of SQL Server can use TCP port 1434. ... You may find it easier to use SQL Server Configuration Manager ... 2008 will be a named instance ... you will have to open those as exceptions in the firewall. ...
    (microsoft.public.sqlserver.connect)
  • Re: Publish SQL 2000 to Inet
    ... I'm not trying to open an ODBC connection. ... > workstation on the LAN looping back through ISA Server. ... I have disabled dynamic port detecting on the Client ... > supposed to estabish a connection to the SQL Server, ...
    (microsoft.public.isaserver)