• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

need help with ms sql server + php

bontu

Member
I'm getting this warning using this line $db_connect_id = odbc_pconnect("localhost","test","test") ;

Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect
and also some other sql problems.

I'm hoping someone knows how to set up ms sql server + php 4.3.0 + iis to work correctly. Do I need to configure odbc some how? This is driving me nuts.
 
the first parameter is your problem - it's not the server IP address you want there.
You have to select the correct DSN for the MSSQL database, hence the error.

Unfortunately, my experience with odbc is next to nil, so for further analysis, I will pass this on to someone else.
 
ah yeah it was the dsn thing. I fiddled around more in the odbc settings. woot thanks man! Its working fine.
 
Back
Top