Could not connect to SQL Server on
Posted: 16. May 2012 17:41
Hello, I understand that this topic has been covered many times but I find nothing works ....
I have a MSSQL database server on a Server2003 which is accessed through PHP programs on a computer XP with XAMPP. The programs work well ... It seemed important to have a backup of the XP .. I set up another PC with XP to download the XAMPP and activated (by removing the;) the mssql in php.ini but when summoned the program gives me the following error
MSSQL functions are available.
Could not connect to SQL Server on 10.200.0.3
He says "MSSQL functions are available." not knowing it was happening I added the following code:
if (function_exists ('mssql_fetch_row')) {
echo "MSSQL functions are available. <br /> \ n";
} Else {
echo "MSSQL functions are not available. <br /> \ n";
}
Other than that the programs are the same ....
Any idea what could be the problem?
I have a MSSQL database server on a Server2003 which is accessed through PHP programs on a computer XP with XAMPP. The programs work well ... It seemed important to have a backup of the XP .. I set up another PC with XP to download the XAMPP and activated (by removing the;) the mssql in php.ini but when summoned the program gives me the following error
MSSQL functions are available.
Could not connect to SQL Server on 10.200.0.3
He says "MSSQL functions are available." not knowing it was happening I added the following code:
if (function_exists ('mssql_fetch_row')) {
echo "MSSQL functions are available. <br /> \ n";
} Else {
echo "MSSQL functions are not available. <br /> \ n";
}
Other than that the programs are the same ....
Any idea what could be the problem?