Jump to content

Windows webserver 2008r2 and MSSQL


DrEdwiser

Recommended Posts

I have a win 2k3 server running iis6. I have set up a new server with win2k8 with iis7 I have php installed on the 2k8 machine and MySQL running fine. I have created my odbc connection exactly like i have the on my 2k3 machine to connect to an MSSQL database. I dont have any errors on the 2k3 machine . on the 2k8 machine i now get the following error:

 

odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application, SQL state IM014 in SQLConnect in C:\inetpub\wwwroot\employee\includes\apptop.php on line 14

 

is it the diffrence in odbc drivers?

 

Also i cannot get the mssql libraries to show up in phpinfo();

 

 

Any help would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/215157-windows-webserver-2008r2-and-mssql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.