DrEdwiser Posted October 4, 2010 Share Posted October 4, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/215157-windows-webserver-2008r2-and-mssql/ Share on other sites More sharing options...
New Coder Posted October 12, 2010 Share Posted October 12, 2010 win2k8 r2 is 64 bit if you are using the 32 bit sql then the odbc are different as the registry paths change to syswow(or similar) I know this isn't a solution but an area to look into Quote Link to comment https://forums.phpfreaks.com/topic/215157-windows-webserver-2008r2-and-mssql/#findComment-1121489 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.