Craig Donnelly wrote:
> On the page where I connect to the MSSQL server I get the following
> error:
>
> Warning: mssql_connect() [function.mssql-connect]: Unable to connect
> to server: 172.16.xx.xxx in
> /var/ftpusers/tarot/tarot/admin/sqltest.php on line 4

A couple of things to try:

(1) Try defining a TDSDUMP file before the connection attempt and see if it 
provides
any hints as to why it failed.  I normally do this via:

putenv("TDSDUMP=/tmp/tdsdump");

before the connection attempt.  Make sure to remove this after you're done 
testing,
this file can get very big very quickly.

(2) Install Sqsh (http://www.sqsh.org/) and see if you can connect with it.  If 
not,
it may give you more information on the connection failure than PHP does (just
guessing here)...

HTH

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to