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 18:49:42 von Niel Archer
> ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect =
not found
>=20
> I used the ntwdblib.dll file from a 5.2.6 zip file
>=20
> I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I =
still get the following error:
>=20
> Warning: mssql_connect() [function.mssql-connect]: Unable to connect to s=
erver: .\SQLEXPRESSLMKIII in C:\Inetpub\wwwroot\trymssql.php on line 8
>=20
> Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\=
wwwroot\trymssql.php on line 8
Like many people I have an aversion to any software starting "MS", but
it took me less than 2 minutes to find the answer to your problem.
http://uk3.php.net/manual/en/mssql.setup.php
"Copying ntwdblib.dll will only provide access through named pipes.
Configuration of the client will require installation of all the tools."
..
"The Client Tools can be installed from the MS SQL Server CD"
--
Niel Archer
--
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
Re: ntwdblib.dll not found in any of the 5.2.8 zip files
am 21.12.2008 22:34:35 von dmagick
Fred Silsbee wrote:
>
>
> --- 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
So lodge a bug at http://bugs.php.net.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database 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 21.12.2008 22:34:35 von dmagick
Fred Silsbee wrote:
>
>
> --- 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
So lodge a bug at http://bugs.php.net.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php