TDbConnection failed to establish DB connection: SQLSTATE[28000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user 'gps_public_user'.
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\Data\TDbConnection.php (192)
0181: $this->_pdo=new PDO($this->getConnectionString(),$this->getUsername(),
0182: $this->getPassword(),$this->_attributes);
0183: // This attribute is only useful for PDO::MySql driver.
0184: // Ignore the warning if a driver doesn't understand this.
0185: @$this->_pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
0186: $this->_pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
0187: $this->_active=true;
0188: $this->setConnectionCharset();
0189: }
0190: catch(PDOException $e)
0191: {
0192: throw new TDbException('dbconnection_open_failed',$e->getMessage());
0193: }
0194: }
0195: }
0196:
0197: /**
0198: * Closes the currently active DB connection.
0199: * It does nothing if the connection is already closed.
0200: */
0201: protected function close()
0202: {
0203: $this->_pdo=null;
0204: $this->_active=false;
#0 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\Data\TDbConnection.php(165): TDbConnection->open()
#1 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\TComponent.php(135): TDbConnection->setActive(true)
#2 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\GPS_PUBLIC\protected\pages\Logowanie.php(14): TComponent->__set('Active', true)
#3 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(4210): Logowanie->onLoad(NULL)
#4 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(6223): TControl->loadRecursive()
#5 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(6215): TPage->processNormalRequest(Object(THtmlWriter))
#6 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(8340): TPage->run(Object(THtmlWriter))
#7 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(8306): TPageService->runPage(Object(Logowanie), Array)
#8 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(9297): TPageService->run()
#9 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\prado_framework\pradolite.php(8899): TApplication->runService()
#10 C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\damian\GPS_PUBLIC\index.php(105): TApplication->run()
#11 {main}