php5连接mssql2008出现问题.
可以连接,但是读取数据的时候出现Warning:sqlsrv_fetch_array()expectsparameter1toberesource,booleangive...
可以连接,但是读取数据的时候出现
Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in D:\www\ss.php on line 17
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -14 [code] => -14 [2] => An invalid parameter was passed to sqlsrv_fetch_array. [message] => An invalid parameter was passed to sqlsrv_fetch_array. ) )
语句正确,有2台机子。一台64位的,运行正确、
另外一台32位的,出现上面的错误。
请问,是那里没有配置好吗? 展开
Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in D:\www\ss.php on line 17
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -14 [code] => -14 [2] => An invalid parameter was passed to sqlsrv_fetch_array. [message] => An invalid parameter was passed to sqlsrv_fetch_array. ) )
语句正确,有2台机子。一台64位的,运行正确、
另外一台32位的,出现上面的错误。
请问,是那里没有配置好吗? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询