Mssql

Newbie Spellweaver
Joined
Nov 3, 2007
Messages
18
Reaction score
0
Hello,

First of all. The SQL- server is runing on a windows web server 2008.

MSSQL (2005 edition) is working as well, ODBC is also working, too.

Now the problem: When I want to connect the website scripts with the database isn't it working... I also tryed it via direct connect, also $mssql_connect = ("host","user","pass") and via ODBC connect.. But nothing happens...

Can anyone help me?
 
if you tell us what the errors say, we can help a lot better

Warning: mssql_connect() [ ]: Unable to connect to server: GOLF873\SQLEXPRESS in C:\inetpub\bla\bla\bla on line 19

How i said.. The database works fine.. I think anything is blocking the connection to my scripts (?)
 
Upvote 0
Check in "Start -> Programs -> Microsoft SQL Server 2005 -> (Native) Client Network tool / Server network tools" if your TCP/IP is enabled, and if a port is set (should be 1433)

Oh yes, XAMPP doesnt work with MSSQL 2005. You need to find a fixed ntwdblib.dll and place it under apache/bin
 
Upvote 0
Check in "Start -> Programs -> Microsoft SQL Server 2005 -> (Native) Client Network tool / Server network tools" if your TCP/IP is enabled, and if a port is set (should be 1433)

Oh yes, XAMPP doesnt work with MSSQL 2005. You need to find a fixed ntwdblib.dll and place it under apache/bin


TCP/IP is enabled. Oh I don't use XAMPP, its just PLESK.
 
Upvote 0
your going to have to contact them, or your host ask them why cant i connet. and is it even MSSQL?
 
Upvote 0
Re: [Help] Mssql

Stop using plesk, start using xampp, and like Bjorn said: "You need to find a fixed ntwdblib.dll and place it under apache/bin" Then it will work with mssql_connect('pcname\SQLEXPRESS','sa','pwd');
 
Upvote 0
Back