Código
CDbException CDbConnection failed to open the DB connection.
Esto es lo que tengo en el COMMON/Config/main.php
Código
<?php ), 'common.extensions.components.*', 'common.components.*', 'common.helpers.*', 'common.models.*', 'application.controllers.*', 'application.extensions.*', 'application.helpers.*', 'application.models.*', 'common.gii.*' ), 'language' => 'es', //'behaviors' => array('LanguageBehavior'), //'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db', //'connectionString' => 'mysql:host=192.168.0.117;dbname=yiiBase', 'connectionString' => 'sqlsrv:server=SOPORTE03\SQLEXPRESS;database=seguimiento', //'emulatePrepare' => true, 'username' => 'sa', 'password' => 'jean1234', //'charset' => 'utf8', 'tablePrefix' => 'dbo.', ), 'errorAction' => 'site/error', ), 'class' => 'common.lib.vendor.clevertech.yii-booster.src.components.Bootstrap', ), 'class' => 'CLogRouter', 'class' => 'CDbLogRoute', 'connectionID' => 'db', 'levels' => 'error, warning', ), ), ), ), // php configuration 'php.defaultCharset' => 'utf-8', 'php.timezone' => 'UTC', ) );