:(

SQLSTATE[08001]: [Microsoft][ODBC Driver 11 for SQL Server]TCP 提供程序: 由于目标计算机积极拒绝,无法连接。

错误位置

FILE: D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Db\Driver.class.php  LINE: 109

TRACE

#0 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Db\Driver.class.php(109): E('SQLSTATE[08001]...')
#1 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Db\Driver.class.php(1075): Think\Db\Driver->connect()
#2 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Db\Driver.class.php(140): Think\Db\Driver->initConnect(false)
#3 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Db\Driver\Sqlsrv.class.php(56): Think\Db\Driver->query('SELECT column...')
#4 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Model.class.php(134): Think\Db\Driver\Sqlsrv->getFields('tbnews')
#5 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Model.class.php(122): Think\Model->flush()
#6 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Model.class.php(1454): Think\Model->_checkTableInfo()
#7 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#8 D:\website\frameworks\ThinkPHP\3.2.3\Common\functions.php(588): Think\Model->__construct('Tbnews')
#9 D:\website\wwwroot1\webcqbidcn\wwwroot\Application\Zh\Controller\IndexController.class.php(269): D('Tbnews')
#10 [internal function]: Zh\Controller\IndexController->news_detail()
#11 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Zh\Controller\IndexController))
#12 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Zh\Controller\IndexController), 'news_detail')
#13 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\App.class.php(204): Think\App::exec()
#14 D:\website\frameworks\ThinkPHP\3.2.3\Library\Think\Think.class.php(120): Think\App::run()
#15 D:\website\frameworks\ThinkPHP\3.2.3\ThinkPHP.php(97): Think\Think::start()
#16 D:\website\wwwroot1\webcqbidcn\wwwroot\index.php(30): require('D:\\website\\fram...')
#17 {main}