Mantis code authenticating with MS-SQL
Posted: 10 Mar 2005, 15:30
okay I am trying to run a test copy of Mantis on my XP machine using IIS, PHP, and MSSQL. the SQL Server is SQL Server 2000, and is on another full time dedicated SQL server. IIS and PHP are loaded properly on my XP box.
the Mantis code throws this error:
APPLICATION ERROR #400
Database connection failed. Error received from database was #0: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
This is an authentication error, but I do not know how to fix it. I have no experience with PHP. I have coded in ASP and ColdFusion, so I am a little confused at this point. Here is my config:
$g_db_type = "odbc_mssql";
When I use just the mssql driver, I get this error:
Fatal error: Call to undefined function mssql_get_last_message() in C:\mantis\core\adodb\drivers\adodb-mssql.inc.php on line 470
Can someone help me because this ticketing system would prevetn me from having to develop my own in ASP. Thanks guys!!!
the Mantis code throws this error:
APPLICATION ERROR #400
Database connection failed. Error received from database was #0: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
This is an authentication error, but I do not know how to fix it. I have no experience with PHP. I have coded in ASP and ColdFusion, so I am a little confused at this point. Here is my config:
$g_db_type = "odbc_mssql";
When I use just the mssql driver, I get this error:
Fatal error: Call to undefined function mssql_get_last_message() in C:\mantis\core\adodb\drivers\adodb-mssql.inc.php on line 470
Can someone help me because this ticketing system would prevetn me from having to develop my own in ASP. Thanks guys!!!