ntwdblib.dll not found in any of the 5.2.8 zip files

ntwdblib.dll not found in any of the 5.2.8 zip files

am 20.12.2008 16:59:38 von Fred Silsbee

ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect not found

I used the ntwdblib.dll file from a 5.2.6 zip file

I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I still get the following error:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: .\SQLEXPRESSLMKIII in C:\Inetpub\wwwroot\trymssql.php on line 8

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\trymssql.php on line 8

// Server in the this format: \ or
// , when using a non default port number
$server = "LANDON\SQLEXPRESSLMKIII";
//$server = '(local)';
//$server = '.\SQLEXPRESSLMKIII';
$link = mssql_connect($server, "sa", "x0x0x0x");
//$link = mssql_connect($server);

if(!$link)
{
die('Something went wrong while connecting to MSSQL');
}
?>

I've looked at all the options/permissions I can find.











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

Re: ntwdblib.dll not found in any of the 5.2.8 zip files

am 20.12.2008 21:20:40 von Fred Silsbee

--- On Sat, 12/20/08, Fergus Gibson wrote:

> From: Fergus Gibson
> Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
> To: fredsilsbee@yahoo.com
> Date: Saturday, December 20, 2008, 6:06 PM
> On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
> wrote:
> > ntwdblib.dll proves to be necessary...otherwise
> I'll get a mssql_connect not found
> > I used the ntwdblib.dll file from a 5.2.6 zip file
>
> This resource might help:
>
> http://www.userscape.com/helpdesk/index.php?pg=kb.page&id=13
>
> According to the information there and on the forum thread
> they link,
> the problem you have is likely that the ntwdblib.dll is the
> wrong
> version. They say you can find the correct DLL in the
> system32
> directory on the SQL Server. If you copy that to your
> extension dir,
> you should be good.


YOU ARE THE MAIN MAN! THAT WORKED! THE CORRECT VERSION SHOULD BE

INCLUDED IN THE 5.2.8 ZIP FILE





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