View Single Post
Old 12.03.2007, 19:19   #1
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default MSSQL + Web server connection

For testing purposes I disabled the firewall on the main server machine with the databases so that the web server could connect to the main machine and register accounts. Now, I have turned on the firewall and, of course, the web server can't connect to the MSSQL because it's being blocked. Normally I would know how to enable the connection with any other SQL service but since I am using MSSQL I have no idea how it's done.

I am using MSSQL 2005 on machine 1 and apache on machine 2.

Here are the errors:
Code:
arning: mssql_connect() [function.mssql-connect]: Unable to connect to server: xx.xx7.2xx.xx5 in C:\www\account\load\functions.php on line 131

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\www\account\load\functions.php on line 132
I know why I'm getting them, just don't know how to fix them. These are for your reference. Thanks in advance!
goodtimeshaxor is offline