Whoops, looks like something went wrong.

(2/2) QueryException

SQLSTATE[28000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'Agendamento'. (SQL: select * from sysobjects where type = 'U' and name = permissions)

in Connection.php (line 647)
at Connection->runQueryCallback('select * from sysobjects where type = \'U\' and name = ?', array('permissions'), object(Closure))in Connection.php (line 607)
at Connection->run('select * from sysobjects where type = \'U\' and name = ?', array('permissions'), object(Closure))in Connection.php (line 326)
at Connection->select('select * from sysobjects where type = \'U\' and name = ?', array('permissions'))in Builder.php (line 72)
at Builder->hasTable('permissions')in Facade.php (line 221)
at Facade::__callStatic('hasTable', array('permissions'))in AuthServiceProvider.php (line 35)
at AuthServiceProvider->boot()
at call_user_func_array(array(object(AuthServiceProvider), 'boot'), array())in BoundMethod.php (line 29)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(AuthServiceProvider), 'boot'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(AuthServiceProvider), 'boot'), array(), null)in Container.php (line 539)
at Container->call(array(object(AuthServiceProvider), 'boot'))in Application.php (line 788)
at Application->bootProvider(object(AuthServiceProvider))in Application.php (line 771)
at Application->Illuminate\Foundation\{closure}(object(AuthServiceProvider), 15)
at array_walk(array(object(EventServiceProvider), object(LogServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ValidatorProvider), object(ServiceProvider)), object(Closure))in Application.php (line 772)
at Application->boot()in BootProviders.php (line 17)
at BootProviders->bootstrap(object(Application))in Application.php (line 208)
at Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))in Kernel.php (line 162)
at Kernel->bootstrap()in Kernel.php (line 146)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 53)

(1/2) PDOException

SQLSTATE[28000]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Login failed for user 'Agendamento'.

in Connector.php (line 68)
at PDO->__construct('sqlsrv:Server=db01001.timoteo.mg.gov.br,1433;Database=agendamentoOnline', 'Agendamento', 'agenda2017', array(0, 2, 0, false))in Connector.php (line 68)
at Connector->createPdoConnection('sqlsrv:Server=db01001.timoteo.mg.gov.br,1433;Database=agendamentoOnline', 'Agendamento', 'agenda2017', array(0, 2, 0, false))in Connector.php (line 44)
at Connector->createConnection('sqlsrv:Server=db01001.timoteo.mg.gov.br,1433;Database=agendamentoOnline', array('driver' => 'sqlsrv', 'host' => 'db01001.timoteo.mg.gov.br', 'port' => '1433', 'database' => 'agendamentoOnline', 'username' => 'Agendamento', 'password' => 'agenda2017', 'charset' => 'utf8', 'prefix' => '', 'name' => 'sqlsrv'), array(0, 2, 0, false))in SqlServerConnector.php (line 32)
at SqlServerConnector->connect(array('driver' => 'sqlsrv', 'host' => 'db01001.timoteo.mg.gov.br', 'port' => '1433', 'database' => 'agendamentoOnline', 'username' => 'Agendamento', 'password' => 'agenda2017', 'charset' => 'utf8', 'prefix' => '', 'name' => 'sqlsrv'))in ConnectionFactory.php (line 183)
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure))in Connection.php (line 883)
at Connection->getPdo()in Connection.php (line 904)
at Connection->getReadPdo()in Connection.php (line 392)
at Connection->getPdoForSelect(true)in Connection.php (line 318)
at Connection->Illuminate\Database\{closure}('select * from sysobjects where type = \'U\' and name = ?', array('permissions'))in Connection.php (line 640)
at Connection->runQueryCallback('select * from sysobjects where type = \'U\' and name = ?', array('permissions'), object(Closure))in Connection.php (line 607)
at Connection->run('select * from sysobjects where type = \'U\' and name = ?', array('permissions'), object(Closure))in Connection.php (line 326)
at Connection->select('select * from sysobjects where type = \'U\' and name = ?', array('permissions'))in Builder.php (line 72)
at Builder->hasTable('permissions')in Facade.php (line 221)
at Facade::__callStatic('hasTable', array('permissions'))in AuthServiceProvider.php (line 35)
at AuthServiceProvider->boot()
at call_user_func_array(array(object(AuthServiceProvider), 'boot'), array())in BoundMethod.php (line 29)
at BoundMethod::Illuminate\Container\{closure}()in BoundMethod.php (line 87)
at BoundMethod::callBoundMethod(object(Application), array(object(AuthServiceProvider), 'boot'), object(Closure))in BoundMethod.php (line 31)
at BoundMethod::call(object(Application), array(object(AuthServiceProvider), 'boot'), array(), null)in Container.php (line 539)
at Container->call(array(object(AuthServiceProvider), 'boot'))in Application.php (line 788)
at Application->bootProvider(object(AuthServiceProvider))in Application.php (line 771)
at Application->Illuminate\Foundation\{closure}(object(AuthServiceProvider), 15)
at array_walk(array(object(EventServiceProvider), object(LogServiceProvider), object(RoutingServiceProvider), object(AuthServiceProvider), object(CookieServiceProvider), object(DatabaseServiceProvider), object(EncryptionServiceProvider), object(FilesystemServiceProvider), object(FormRequestServiceProvider), object(FoundationServiceProvider), object(NotificationServiceProvider), object(PaginationServiceProvider), object(SessionServiceProvider), object(ViewServiceProvider), object(AppServiceProvider), object(AuthServiceProvider), object(EventServiceProvider), object(RouteServiceProvider), object(ValidatorProvider), object(ServiceProvider)), object(Closure))in Application.php (line 772)
at Application->boot()in BootProviders.php (line 17)
at BootProviders->bootstrap(object(Application))in Application.php (line 208)
at Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))in Kernel.php (line 162)
at Kernel->bootstrap()in Kernel.php (line 146)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 53)