NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
odbc_connect works from within nusphere, but not without it.


Joined: 20 Jun 2008
Posts: 3
Reply with quote
I have installed Apache webserver, and php on my local machine. I was trying to connect to a remote MSSQL server using a system DSN in my php script on my local machine and getting this error:"odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'MSM\ADCC-LPTP$'., SQL state 28000 in SQLConnect in C:\Web\WebServer\htdocs\MSSqlConn.php on line 11"


But when I installed Nuspeher PHPed 5.2 and I run the same script from within Nusphere, it works without an error. It gets connected to the remote MSSQL server and shows the results of my query. Smile

What is Nusphere doing different for the odbc_connect to go through?

Thanks,

Deep
View user's profileFind all posts by deepSend private message
odbc_connect works from within nusphere, but not without it.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic