Warning: sqlsrv_query() expects parameter 1 to be resource, boolean given in D:\naoiauto\php\common\dbconnector.php on line 371

Fatal error: Uncaught exception 'Exception' with message 'An invalid parameter was passed to sqlsrv_query.<br />' in D:\naoiauto\php\common\dbconnector.php:374 Stack trace: #0 D:\naoiauto\contents\koukoku\koukoku_common_class.php(366): DbConnector->sendQuery(' DECLARE @code ...', NULL) #1 D:\naoiauto\contents\koukoku\koukoku_common_class.php(116): NewKoukokuInfo->GetImgReport(Object(DbConnector), '2000005047', 1, 1) #2 D:\naoiauto\contents\for_shaken\inc_cmn_setting.php(37): NewKoukokuInfo->getList(Object(DbConnector), Array) #3 D:\naoiauto\contents\shaken\shimotsuma\index.tpl(2): include('D:\naoiauto\con...') #4 D:\naoiauto\contents\shaken\shimotsuma\index.php(92): include('D:\naoiauto\con...') #5 {main} thrown in D:\naoiauto\php\common\dbconnector.php on line 374