The error message "Warning: MS SQL: Unable to connect to server:" Includes an colon (:) in the end which suggest that there is some additional error message supplied to the. Would it be possible to find out what that says? otherwise one can start to speculate in hardly anything, like broken network connectivity due to firewall settings, etc, etc. On Tue, 2003-10-21 at 16:02, Felipe Nascimento wrote: > I guess they are, as there is SQL Query Analyser working. Or is there > anything else I should do? > > IsnÂt ntwdblib.dll responsible for that? > > Tks > Felipe > > -----Mensagem original----- > De: Luis Ferro [mailto:lferro@teladigital.net] > Enviada em: terÃa-feira, 21 de outubro de 2003 09:32 > Para: php-windows@lists.php.net > Assunto: Re: mssql_connect() - Unable to connect to server > > > The SQL Server wraper functions in PHP are based on SQL Server Client > DLL's which can or can't be already on the system. > > I would check to see if they are present in the machine that is running > PHP... > > Cheers and good luck ;) > Luis Ferro > TelaDigital.net > > Felipe Nascimento wrote: > > >Hi all, > > > >IÂve seen some coments on the subject already, but I couldnÂt put it to > > >work. > > > >My set up is: Php 4.3.3 under Win - MSSQL 2000 - Win 2000 server - IIS > >5.0. All in the same server. > > > >php_mssql.dll is set as an extension, ntwdblib.dll is in the system32 > >directory. > > > >My call to mssql_connect is: > >mssql_connect("'MY_IP_ADRESS', 'user', ''"); (the password is empty). > > > >The Warning message: > >"Warning: MS SQL: Unable to connect to server:" .... > > > >Did I forget anything? > > > >Is there something I have to do in the SQL Server? I am not used to MS > >SQL Server, but I added a user with read and write privileges. Is there > > >something else? > > > >Tks > >Felipe > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003 > > > > > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003 > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php