22-11-2019 12:44:35.967791 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 22-11-2019 12:44:35.976779 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:44:35.976779 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 22-11-2019 12:44:35.977784 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 22-11-2019 12:44:35.977784 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:44:35.977784 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 22-11-2019 12:44:35.978782 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 22-11-2019 12:44:35.978782 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 22-11-2019 12:44:35.979781 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 22-11-2019 12:44:35.979781 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 22-11-2019 12:44:35.979781 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 22-11-2019 12:44:35.979781 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 22-11-2019 12:44:35.980781 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 22-11-2019 12:44:35.980781 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 22-11-2019 12:44:35.980781 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 22-11-2019 12:44:35.981782 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 22-11-2019 12:44:35.981782 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 22-11-2019 12:44:35.981782 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 22-11-2019 12:44:35.984781 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 22-11-2019 12:44:35.984781 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 22-11-2019 12:44:35.985781 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 22-11-2019 12:44:35.985781 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 22-11-2019 12:44:35.985781 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 22-11-2019 12:44:35.985781 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 22-11-2019 12:44:35.985781 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 22-11-2019 12:44:35.986780 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 22-11-2019 12:44:35.986780 | Thread id: 00000000008 | INFO | Loading settings: 22-11-2019 12:44:35.986780 | Thread id: 00000000011 | INFO | Loading settings: 22-11-2019 12:44:35.986780 | Thread id: 00000000010 | INFO | Loading settings: 22-11-2019 12:44:35.987781 | Thread id: 00000000007 | INFO | do run synchronization 22-11-2019 12:44:35.987781 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 22-11-2019 12:44:35.987781 | Thread id: 00000000009 | INFO | Loading settings: 22-11-2019 12:44:35.988779 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 22-11-2019 12:44:35.988779 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 22-11-2019 12:44:35.988779 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 22-11-2019 12:44:35.988779 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 22-11-2019 12:44:35.988779 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 22-11-2019 12:44:35.988779 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 22-11-2019 12:44:35.988779 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 22-11-2019 12:44:35.989779 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 22-11-2019 12:44:35.989779 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 22-11-2019 12:44:35.989779 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 22-11-2019 12:44:35.989779 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 22-11-2019 12:44:35.989779 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 22-11-2019 12:44:35.990779 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 22-11-2019 12:44:35.990779 | Thread id: 00000000008 | INFO | Start generating student group emails 22-11-2019 12:44:35.990779 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 22-11-2019 12:44:35.991781 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 22-11-2019 12:44:35.991781 | Thread id: 00000000011 | INFO | Start merge invoices 22-11-2019 12:44:35.994783 | Thread id: 00000000010 | INFO | Start cleanup database 22-11-2019 12:44:36.048783 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 22-11-2019 12:44:36.057783 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 22-11-2019 12:44:36.058784 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 22-11-2019 12:44:36.058784 | Thread id: 00000000009 | INFO | Start generating lessons 22-11-2019 12:44:36.064788 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 22-11-2019 12:44:36.066787 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 22-11-2019 12:44:36.066787 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 22-11-2019 12:44:36.069781 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-11-2019 12:44:36.091797 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 22-11-2019 12:44:36.092780 | Thread id: 00000000009 | INFO | Start clearing lockers 22-11-2019 12:44:36.122788 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 22-11-2019 12:44:36.122788 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-11-2019 12:44:48.312731 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 22-11-2019 12:44:48.324737 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:44:48.324737 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 22-11-2019 12:44:48.325732 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 22-11-2019 12:44:48.325732 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:44:48.325732 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 22-11-2019 12:44:48.327730 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 22-11-2019 12:44:48.327730 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 22-11-2019 12:44:48.327730 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 22-11-2019 12:44:48.327730 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 22-11-2019 12:44:48.328733 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 22-11-2019 12:44:48.328733 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 22-11-2019 12:44:48.329735 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 22-11-2019 12:44:48.329735 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 22-11-2019 12:44:48.329735 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 22-11-2019 12:44:48.330738 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 22-11-2019 12:44:48.330738 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 22-11-2019 12:44:48.331737 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 22-11-2019 12:44:48.331737 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 22-11-2019 12:44:48.331737 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 22-11-2019 12:44:48.331737 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 22-11-2019 12:44:48.331737 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 22-11-2019 12:44:48.331737 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 22-11-2019 12:44:48.331737 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 22-11-2019 12:44:48.331737 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 22-11-2019 12:44:48.333736 | Thread id: 00000000010 | INFO | Loading settings: 22-11-2019 12:44:48.333736 | Thread id: 00000000007 | INFO | do run synchronization 22-11-2019 12:44:48.333736 | Thread id: 00000000008 | INFO | Loading settings: 22-11-2019 12:44:48.334739 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 22-11-2019 12:44:48.334739 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 22-11-2019 12:44:48.334739 | Thread id: 00000000011 | INFO | Loading settings: 22-11-2019 12:44:48.334739 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 22-11-2019 12:44:48.334739 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 22-11-2019 12:44:48.335743 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 22-11-2019 12:44:48.335743 | Thread id: 00000000009 | INFO | Loading settings: 22-11-2019 12:44:48.335743 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 22-11-2019 12:44:48.335743 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 22-11-2019 12:44:48.335743 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 22-11-2019 12:44:48.336745 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 22-11-2019 12:44:48.336745 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 22-11-2019 12:44:48.336745 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 22-11-2019 12:44:48.336745 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 22-11-2019 12:44:48.338742 | Thread id: 00000000011 | INFO | Start merge invoices 22-11-2019 12:44:48.338742 | Thread id: 00000000008 | INFO | Start generating student group emails 22-11-2019 12:44:48.338742 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 22-11-2019 12:44:48.339736 | Thread id: 00000000010 | INFO | Start cleanup database 22-11-2019 12:44:48.339736 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 22-11-2019 12:44:48.370732 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 22-11-2019 12:44:48.370732 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 22-11-2019 12:44:48.371737 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 22-11-2019 12:44:48.398736 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 22-11-2019 12:44:48.400736 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 22-11-2019 12:44:48.407739 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 22-11-2019 12:44:48.408738 | Thread id: 00000000009 | INFO | Start generating lessons 22-11-2019 12:44:48.412736 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 33 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 22-11-2019 12:44:48.414738 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 22-11-2019 12:44:48.416736 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 22-11-2019 12:44:48.416736 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-11-2019 12:44:48.435740 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 22-11-2019 12:44:48.435740 | Thread id: 00000000009 | INFO | Start clearing lockers 22-11-2019 12:44:48.495742 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 22-11-2019 12:44:48.496742 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-11-2019 12:45:00.781799 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 22-11-2019 12:45:00.819792 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:45:00.833859 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 22-11-2019 12:45:00.833859 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 22-11-2019 12:45:00.836792 | Thread id: 00000000005 | INFO | *********************************** 22-11-2019 12:45:00.836792 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 22-11-2019 12:45:00.837795 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 22-11-2019 12:45:00.839786 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 22-11-2019 12:45:00.839786 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 22-11-2019 12:45:00.843792 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 22-11-2019 12:45:00.844791 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 22-11-2019 12:45:00.844791 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 22-11-2019 12:45:00.845793 | Thread id: 00000000007 | INFO | do run synchronization 22-11-2019 12:45:00.846792 | Thread id: 00000000008 | INFO | Loading settings: 22-11-2019 12:45:00.846792 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 22-11-2019 12:45:00.854785 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 22-11-2019 12:45:00.879786 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 22-11-2019 12:45:00.911790 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 22-11-2019 12:45:00.918256 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 22-11-2019 12:45:00.918788 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 22-11-2019 12:45:00.920802 | Thread id: 00000000008 | INFO | Start generating student group emails 22-11-2019 12:45:00.921801 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 22-11-2019 12:45:00.921801 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 22-11-2019 12:45:00.921801 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 22-11-2019 12:45:00.922797 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 22-11-2019 12:45:00.923796 | Thread id: 00000000010 | INFO | Loading settings: 22-11-2019 12:45:00.923796 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 22-11-2019 12:45:00.923796 | Thread id: 00000000009 | INFO | Loading settings: 22-11-2019 12:45:00.923796 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 22-11-2019 12:45:00.923796 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 22-11-2019 12:45:00.924796 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 22-11-2019 12:45:00.924796 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 22-11-2019 12:45:00.955793 | Thread id: 00000000010 | INFO | Start cleanup database 22-11-2019 12:45:00.960798 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 22-11-2019 12:45:00.961797 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 22-11-2019 12:45:00.966798 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 22-11-2019 12:45:00.970797 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 22-11-2019 12:45:00.971803 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 22-11-2019 12:45:00.972797 | Thread id: 00000000011 | INFO | Loading settings: 22-11-2019 12:45:00.973798 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 22-11-2019 12:45:00.973798 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 22-11-2019 12:45:01.000798 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 22-11-2019 12:45:01.002798 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 22-11-2019 12:45:01.002798 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 22-11-2019 12:45:01.003796 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 22-11-2019 12:45:01.003796 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 22-11-2019 12:45:01.003796 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 22-11-2019 12:45:01.004796 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 22-11-2019 12:45:01.004796 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 22-11-2019 12:45:01.004796 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 22-11-2019 12:45:01.006797 | Thread id: 00000000011 | INFO | Start merge invoices 22-11-2019 12:45:01.006797 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 22-11-2019 12:45:01.014800 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 22-11-2019 12:45:01.031800 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 22-11-2019 12:45:01.034799 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-11-2019 12:45:01.042798 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 22-11-2019 12:45:01.068802 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 22-11-2019 12:45:01.073796 | Thread id: 00000000009 | INFO | Start generating lessons 22-11-2019 12:45:01.133796 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 22-11-2019 12:45:01.137806 | Thread id: 00000000009 | INFO | Start clearing lockers 22-11-2019 12:45:01.250814 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 22-11-2019 12:45:01.251814 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 09-12-2019 01:19:05.346726 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | *********************************** 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | *********************************** 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 09-12-2019 01:19:05.456095 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 09-12-2019 01:19:05.471712 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 09-12-2019 01:19:05.487365 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 09-12-2019 01:19:05.487365 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 09-12-2019 01:19:05.487365 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 09-12-2019 01:19:05.487365 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 09-12-2019 01:19:05.487365 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 09-12-2019 01:19:05.487365 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 09-12-2019 01:19:05.518583 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 09-12-2019 01:19:05.518583 | Thread id: 00000000008 | INFO | Loading settings: 09-12-2019 01:19:05.518583 | Thread id: 00000000011 | INFO | Loading settings: 09-12-2019 01:19:05.518583 | Thread id: 00000000010 | INFO | Loading settings: 09-12-2019 01:19:05.518583 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 09-12-2019 01:19:05.518583 | Thread id: 00000000007 | INFO | do run synchronization 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Loading settings: 09-12-2019 01:19:05.518583 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 09-12-2019 01:19:05.518583 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 09-12-2019 01:19:05.518583 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 09-12-2019 01:19:05.518583 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 09-12-2019 01:19:05.518583 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 09-12-2019 01:19:05.518583 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 09-12-2019 01:19:05.518583 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 09-12-2019 01:19:05.518583 | Thread id: 00000000011 | INFO | Start merge invoices 09-12-2019 01:19:05.518583 | Thread id: 00000000008 | INFO | Start generating student group emails 09-12-2019 01:19:05.549868 | Thread id: 00000000010 | INFO | Start cleanup database 09-12-2019 01:19:05.737342 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 09-12-2019 01:19:05.768594 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 09-12-2019 01:19:05.768594 | Thread id: 00000000009 | INFO | Start generating lessons 09-12-2019 01:19:05.784242 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 09-12-2019 01:19:06.002971 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 09-12-2019 01:19:06.018588 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 09-12-2019 01:19:06.018588 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 09-12-2019 01:19:06.018588 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 09-12-2019 01:19:06.018588 | Thread id: 00000000009 | INFO | Start clearing lockers 09-12-2019 01:19:06.112336 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 09-12-2019 01:19:06.143586 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 09-12-2019 01:19:06.143586 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 19-01-2020 23:32:06.423991 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | *********************************** 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | *********************************** 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 19-01-2020 23:32:06.455231 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 19-01-2020 23:32:06.455231 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 19-01-2020 23:32:06.455231 | Thread id: 00000000010 | INFO | Loading settings: 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Loading settings: 19-01-2020 23:32:06.455231 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 19-01-2020 23:32:06.455231 | Thread id: 00000000007 | INFO | do run synchronization 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | Loading settings: 19-01-2020 23:32:06.455231 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Loading settings: 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 19-01-2020 23:32:06.455231 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 19-01-2020 23:32:06.455231 | Thread id: 00000000011 | INFO | Start merge invoices 19-01-2020 23:32:06.455231 | Thread id: 00000000008 | INFO | Start generating student group emails 19-01-2020 23:32:06.470868 | Thread id: 00000000010 | INFO | Start cleanup database 19-01-2020 23:32:06.720856 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 19-01-2020 23:32:06.783355 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 19-01-2020 23:32:06.986502 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 19-01-2020 23:32:07.002117 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 19-01-2020 23:32:07.002117 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 19-01-2020 23:32:07.002117 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 19-01-2020 23:32:07.002117 | Thread id: 00000000009 | INFO | Start generating lessons 19-01-2020 23:32:07.017736 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 19-01-2020 23:32:07.064626 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 19-01-2020 23:32:07.064626 | Thread id: 00000000009 | INFO | Start clearing lockers 19-01-2020 23:32:07.205233 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 19-01-2020 23:32:07.205233 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 09-02-2020 23:40:33.323423 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | *********************************** 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | *********************************** 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 09-02-2020 23:40:33.399901 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 09-02-2020 23:40:33.415205 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Loading settings: 09-02-2020 23:40:33.415205 | Thread id: 00000000010 | INFO | Loading settings: 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | Loading settings: 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Loading settings: 09-02-2020 23:40:33.415205 | Thread id: 00000000007 | INFO | do run synchronization 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 09-02-2020 23:40:33.415205 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 09-02-2020 23:40:33.415205 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 09-02-2020 23:40:33.415205 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 09-02-2020 23:40:33.415205 | Thread id: 00000000011 | INFO | Start merge invoices 09-02-2020 23:40:33.415205 | Thread id: 00000000008 | INFO | Start generating student group emails 09-02-2020 23:40:33.430509 | Thread id: 00000000010 | INFO | Start cleanup database 09-02-2020 23:40:33.614177 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 09-02-2020 23:40:33.629478 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 09-02-2020 23:40:33.629478 | Thread id: 00000000009 | INFO | Start generating lessons 09-02-2020 23:40:33.644786 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 09-02-2020 23:40:33.767214 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 09-02-2020 23:40:33.767214 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 09-02-2020 23:40:33.782487 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 09-02-2020 23:40:33.782487 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 09-02-2020 23:40:33.782487 | Thread id: 00000000009 | INFO | Start clearing lockers 09-02-2020 23:40:33.813121 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 09-02-2020 23:40:33.828400 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 09-02-2020 23:40:33.828400 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 29-05-2020 18:15:17.458355 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | *********************************** 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | *********************************** 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 29-05-2020 18:15:17.489613 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 29-05-2020 18:15:17.489613 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 29-05-2020 18:15:17.489613 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 29-05-2020 18:15:17.489613 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 29-05-2020 18:15:17.489613 | Thread id: 00000000010 | INFO | Loading settings: 29-05-2020 18:15:17.489613 | Thread id: 00000000008 | INFO | Loading settings: 29-05-2020 18:15:17.489613 | Thread id: 00000000009 | INFO | Loading settings: 29-05-2020 18:15:17.489613 | Thread id: 00000000007 | INFO | do run synchronization 29-05-2020 18:15:17.489613 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 29-05-2020 18:15:17.489613 | Thread id: 00000000011 | INFO | Loading settings: 29-05-2020 18:15:17.489613 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 29-05-2020 18:15:17.489613 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 29-05-2020 18:15:17.489613 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 29-05-2020 18:15:17.489613 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 29-05-2020 18:15:17.489613 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 29-05-2020 18:15:17.489613 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 29-05-2020 18:15:17.505228 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 29-05-2020 18:15:17.505228 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 29-05-2020 18:15:17.505228 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 29-05-2020 18:15:17.505228 | Thread id: 00000000011 | INFO | Start merge invoices 29-05-2020 18:15:17.505228 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 29-05-2020 18:15:17.505228 | Thread id: 00000000008 | INFO | Start generating student group emails 29-05-2020 18:15:17.505228 | Thread id: 00000000010 | INFO | Start cleanup database 29-05-2020 18:15:17.583368 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 29-05-2020 18:15:17.583368 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 29-05-2020 18:15:17.583368 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 29-05-2020 18:15:17.583368 | Thread id: 00000000009 | INFO | Start generating lessons 29-05-2020 18:15:17.708359 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 29-05-2020 18:15:17.708359 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 29-05-2020 18:15:17.708359 | Thread id: 00000000009 | INFO | Start clearing lockers 29-05-2020 18:15:17.724002 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 29-05-2020 18:15:17.724002 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 29-05-2020 18:15:17.724002 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 29-05-2020 18:15:17.724002 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 29-05-2020 18:15:17.724002 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 06-08-2020 08:42:51.070328 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | *********************************** 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | *********************************** 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 06-08-2020 08:42:51.085940 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 06-08-2020 08:42:51.085940 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 06-08-2020 08:42:51.085940 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 06-08-2020 08:42:51.085940 | Thread id: 00000000008 | INFO | Loading settings: 06-08-2020 08:42:51.085940 | Thread id: 00000000010 | INFO | Loading settings: 06-08-2020 08:42:51.085940 | Thread id: 00000000011 | INFO | Loading settings: 06-08-2020 08:42:51.085940 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 06-08-2020 08:42:51.085940 | Thread id: 00000000007 | INFO | do run synchronization 06-08-2020 08:42:51.085940 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 06-08-2020 08:42:51.085940 | Thread id: 00000000009 | INFO | Loading settings: 06-08-2020 08:42:51.085940 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 06-08-2020 08:42:51.085940 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 06-08-2020 08:42:51.085940 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 06-08-2020 08:42:51.085940 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 06-08-2020 08:42:51.085940 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 06-08-2020 08:42:51.085940 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 06-08-2020 08:42:51.085940 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 06-08-2020 08:42:51.085940 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 06-08-2020 08:42:51.085940 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 06-08-2020 08:42:51.085940 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 06-08-2020 08:42:51.085940 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 06-08-2020 08:42:51.101559 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 06-08-2020 08:42:51.101559 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 06-08-2020 08:42:51.101559 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 06-08-2020 08:42:51.101559 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 06-08-2020 08:42:51.101559 | Thread id: 00000000011 | INFO | Start merge invoices 06-08-2020 08:42:51.101559 | Thread id: 00000000008 | INFO | Start generating student group emails 06-08-2020 08:42:51.101559 | Thread id: 00000000010 | INFO | Start cleanup database 06-08-2020 08:42:51.164058 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 06-08-2020 08:42:51.164058 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 06-08-2020 08:42:51.180306 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 06-08-2020 08:42:51.180306 | Thread id: 00000000009 | INFO | Start generating lessons 06-08-2020 08:42:51.351559 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 06-08-2020 08:42:51.367182 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 06-08-2020 08:42:51.367182 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 06-08-2020 08:42:51.367182 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 06-08-2020 08:42:51.367182 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 06-08-2020 08:42:51.367182 | Thread id: 00000000009 | INFO | Start clearing lockers 06-08-2020 08:42:51.398435 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 06-08-2020 08:42:51.398435 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 06-08-2020 15:32:54.486749 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | *********************************** 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | *********************************** 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 06-08-2020 15:32:54.502337 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 06-08-2020 15:32:54.502337 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 06-08-2020 15:32:54.502337 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 06-08-2020 15:32:54.502337 | Thread id: 00000000008 | INFO | Loading settings: 06-08-2020 15:32:54.502337 | Thread id: 00000000010 | INFO | Loading settings: 06-08-2020 15:32:54.502337 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 06-08-2020 15:32:54.502337 | Thread id: 00000000011 | INFO | Loading settings: 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Loading settings: 06-08-2020 15:32:54.517959 | Thread id: 00000000007 | INFO | do run synchronization 06-08-2020 15:32:54.517959 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 06-08-2020 15:32:54.517959 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 06-08-2020 15:32:54.517959 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 06-08-2020 15:32:54.517959 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 06-08-2020 15:32:54.517959 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 06-08-2020 15:32:54.517959 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 06-08-2020 15:32:54.517959 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 06-08-2020 15:32:54.517959 | Thread id: 00000000011 | INFO | Start merge invoices 06-08-2020 15:32:54.517959 | Thread id: 00000000008 | INFO | Start generating student group emails 06-08-2020 15:32:54.517959 | Thread id: 00000000010 | INFO | Start cleanup database 06-08-2020 15:32:54.549239 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 06-08-2020 15:32:54.564835 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 06-08-2020 15:32:54.564835 | Thread id: 00000000009 | INFO | Start generating lessons 06-08-2020 15:32:54.564835 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 06-08-2020 15:32:54.580477 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 06-08-2020 15:32:54.580477 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 06-08-2020 15:32:54.580477 | Thread id: 00000000009 | INFO | Start clearing lockers 06-08-2020 15:32:54.596094 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 06-08-2020 15:32:54.596094 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 06-08-2020 15:32:54.596094 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 06-08-2020 15:32:54.658582 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 06-08-2020 15:32:54.658582 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 29-08-2020 15:47:54.293125 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | *********************************** 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | *********************************** 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 29-08-2020 15:47:54.308746 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 29-08-2020 15:47:54.308746 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 29-08-2020 15:47:54.308746 | Thread id: 00000000008 | INFO | Loading settings: 29-08-2020 15:47:54.308746 | Thread id: 00000000007 | INFO | do run synchronization 29-08-2020 15:47:54.308746 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 29-08-2020 15:47:54.308746 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 29-08-2020 15:47:54.308746 | Thread id: 00000000009 | INFO | Loading settings: 29-08-2020 15:47:54.308746 | Thread id: 00000000010 | INFO | Loading settings: 29-08-2020 15:47:54.308746 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 29-08-2020 15:47:54.324367 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 29-08-2020 15:47:54.324367 | Thread id: 00000000011 | INFO | Loading settings: 29-08-2020 15:47:54.324367 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 29-08-2020 15:47:54.324367 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 29-08-2020 15:47:54.324367 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 29-08-2020 15:47:54.324367 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 29-08-2020 15:47:54.324367 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 29-08-2020 15:47:54.324367 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 29-08-2020 15:47:54.324367 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 29-08-2020 15:47:54.324367 | Thread id: 00000000008 | INFO | Start generating student group emails 29-08-2020 15:47:54.324367 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 29-08-2020 15:47:54.324367 | Thread id: 00000000010 | INFO | Start cleanup database 29-08-2020 15:47:54.324367 | Thread id: 00000000011 | INFO | Start merge invoices 29-08-2020 15:47:54.324367 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 29-08-2020 15:47:54.340006 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 29-08-2020 15:47:54.355618 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 29-08-2020 15:47:54.371243 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 29-08-2020 15:47:54.371243 | Thread id: 00000000009 | INFO | Start generating lessons 29-08-2020 15:47:54.371243 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 29-08-2020 15:47:54.371243 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 29-08-2020 15:47:54.386872 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 29-08-2020 15:47:54.386872 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 29-08-2020 15:47:54.386872 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 29-08-2020 15:47:54.386872 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 29-08-2020 15:47:54.386872 | Thread id: 00000000009 | INFO | Start clearing lockers 29-08-2020 15:47:54.449374 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 29-08-2020 15:47:54.449374 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 31-08-2020 12:18:09.996374 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | *********************************** 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | *********************************** 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 31-08-2020 12:18:10.011974 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 31-08-2020 12:18:10.011974 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 31-08-2020 12:18:10.011974 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 31-08-2020 12:18:10.011974 | Thread id: 00000000010 | INFO | Loading settings: 31-08-2020 12:18:10.011974 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 31-08-2020 12:18:10.011974 | Thread id: 00000000007 | INFO | do run synchronization 31-08-2020 12:18:10.011974 | Thread id: 00000000008 | INFO | Loading settings: 31-08-2020 12:18:10.011974 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 31-08-2020 12:18:10.011974 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 31-08-2020 12:18:10.011974 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 31-08-2020 12:18:10.011974 | Thread id: 00000000011 | INFO | Loading settings: 31-08-2020 12:18:10.011974 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 31-08-2020 12:18:10.011974 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 31-08-2020 12:18:10.011974 | Thread id: 00000000009 | INFO | Loading settings: 31-08-2020 12:18:10.011974 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 31-08-2020 12:18:10.011974 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 31-08-2020 12:18:10.011974 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 31-08-2020 12:18:10.011974 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 31-08-2020 12:18:10.027597 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 31-08-2020 12:18:10.027597 | Thread id: 00000000008 | INFO | Start generating student group emails 31-08-2020 12:18:10.027597 | Thread id: 00000000011 | INFO | Start merge invoices 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 31-08-2020 12:18:10.027597 | Thread id: 00000000010 | INFO | Start cleanup database 31-08-2020 12:18:10.027597 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 31-08-2020 12:18:10.058874 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 31-08-2020 12:18:10.074472 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 31-08-2020 12:18:10.074472 | Thread id: 00000000009 | INFO | Start generating lessons 31-08-2020 12:18:10.074472 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 31-08-2020 12:18:10.074472 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 31-08-2020 12:18:10.090112 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 31-08-2020 12:18:10.090112 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 31-08-2020 12:18:10.090112 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 31-08-2020 12:18:10.105722 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 31-08-2020 12:18:10.105722 | Thread id: 00000000009 | INFO | Start clearing lockers 31-08-2020 12:18:10.168229 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 31-08-2020 12:18:10.168229 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-09-2020 23:44:15.599338 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | *********************************** 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | *********************************** 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 26-09-2020 23:44:15.614958 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 26-09-2020 23:44:15.614958 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 26-09-2020 23:44:15.614958 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 26-09-2020 23:44:15.614958 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 26-09-2020 23:44:15.614958 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 26-09-2020 23:44:15.614958 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 26-09-2020 23:44:15.614958 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 26-09-2020 23:44:15.614958 | Thread id: 00000000009 | INFO | Loading settings: 26-09-2020 23:44:15.630578 | Thread id: 00000000011 | INFO | Loading settings: 26-09-2020 23:44:15.630578 | Thread id: 00000000010 | INFO | Loading settings: 26-09-2020 23:44:15.630578 | Thread id: 00000000007 | INFO | do run synchronization 26-09-2020 23:44:15.630578 | Thread id: 00000000008 | INFO | Loading settings: 26-09-2020 23:44:15.630578 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 26-09-2020 23:44:15.630578 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 26-09-2020 23:44:15.630578 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 26-09-2020 23:44:15.630578 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 26-09-2020 23:44:15.630578 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 26-09-2020 23:44:15.630578 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 26-09-2020 23:44:15.630578 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 26-09-2020 23:44:15.630578 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 26-09-2020 23:44:15.630578 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 26-09-2020 23:44:15.630578 | Thread id: 00000000011 | INFO | Start merge invoices 26-09-2020 23:44:15.630578 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 26-09-2020 23:44:15.630578 | Thread id: 00000000008 | INFO | Start generating student group emails 26-09-2020 23:44:15.646204 | Thread id: 00000000010 | INFO | Start cleanup database 26-09-2020 23:44:15.771211 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 26-09-2020 23:44:15.771211 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 26-09-2020 23:44:15.771211 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 26-09-2020 23:44:15.771211 | Thread id: 00000000009 | INFO | Start generating lessons 26-09-2020 23:44:15.818083 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 26-09-2020 23:44:15.818083 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 26-09-2020 23:44:15.818083 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-09-2020 23:44:15.833707 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 26-09-2020 23:44:15.833707 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 26-09-2020 23:44:15.833707 | Thread id: 00000000009 | INFO | Start clearing lockers 26-09-2020 23:44:15.849351 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 26-09-2020 23:44:15.849351 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-10-2020 02:40:39.255835 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | *********************************** 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | *********************************** 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 15-10-2020 02:40:39.287080 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 15-10-2020 02:40:39.287080 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 15-10-2020 02:40:39.287080 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 15-10-2020 02:40:39.287080 | Thread id: 00000000010 | INFO | Loading settings: 15-10-2020 02:40:39.287080 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 15-10-2020 02:40:39.287080 | Thread id: 00000000007 | INFO | do run synchronization 15-10-2020 02:40:39.287080 | Thread id: 00000000011 | INFO | Loading settings: 15-10-2020 02:40:39.287080 | Thread id: 00000000008 | INFO | Loading settings: 15-10-2020 02:40:39.287080 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 15-10-2020 02:40:39.287080 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 15-10-2020 02:40:39.287080 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 15-10-2020 02:40:39.287080 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 15-10-2020 02:40:39.287080 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Loading settings: 15-10-2020 02:40:39.287080 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 15-10-2020 02:40:39.287080 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 15-10-2020 02:40:39.287080 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 15-10-2020 02:40:39.287080 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 15-10-2020 02:40:39.287080 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 15-10-2020 02:40:39.302672 | Thread id: 00000000011 | INFO | Start merge invoices 15-10-2020 02:40:39.302672 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 15-10-2020 02:40:39.302672 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 15-10-2020 02:40:39.302672 | Thread id: 00000000008 | INFO | Start generating student group emails 15-10-2020 02:40:39.318301 | Thread id: 00000000010 | INFO | Start cleanup database 15-10-2020 02:40:39.490178 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 15-10-2020 02:40:39.490178 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 15-10-2020 02:40:39.505813 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 15-10-2020 02:40:39.505813 | Thread id: 00000000009 | INFO | Start generating lessons 15-10-2020 02:40:39.865180 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 15-10-2020 02:40:39.865180 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 15-10-2020 02:40:39.865180 | Thread id: 00000000009 | INFO | Start clearing lockers 15-10-2020 02:40:39.880792 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 15-10-2020 02:40:39.880792 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 15-10-2020 02:40:39.896420 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 15-10-2020 02:40:39.912041 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-10-2020 02:40:39.912041 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-10-2020 06:46:09.452265 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | *********************************** 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | *********************************** 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 15-10-2020 06:46:09.467900 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 15-10-2020 06:46:09.483491 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 15-10-2020 06:46:09.483491 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 15-10-2020 06:46:09.483491 | Thread id: 00000000007 | INFO | do run synchronization 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Loading settings: 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | Loading settings: 15-10-2020 06:46:09.483491 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Loading settings: 15-10-2020 06:46:09.483491 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 15-10-2020 06:46:09.483491 | Thread id: 00000000010 | INFO | Loading settings: 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 15-10-2020 06:46:09.483491 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 15-10-2020 06:46:09.483491 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 15-10-2020 06:46:09.483491 | Thread id: 00000000011 | INFO | Start merge invoices 15-10-2020 06:46:09.483491 | Thread id: 00000000008 | INFO | Start generating student group emails 15-10-2020 06:46:09.514746 | Thread id: 00000000010 | INFO | Start cleanup database 15-10-2020 06:46:09.577251 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 15-10-2020 06:46:09.592873 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 15-10-2020 06:46:09.592873 | Thread id: 00000000009 | INFO | Start generating lessons 15-10-2020 06:46:09.608495 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 15-10-2020 06:46:09.717885 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 15-10-2020 06:46:09.717885 | Thread id: 00000000009 | INFO | Start clearing lockers 15-10-2020 06:46:09.733510 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 15-10-2020 06:46:09.749134 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 15-10-2020 06:46:09.749134 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 15-10-2020 06:46:09.749134 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-10-2020 06:46:09.749134 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 15-10-2020 06:46:09.749134 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-10-2020 02:42:02.518748 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | *********************************** 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | *********************************** 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 22-10-2020 02:42:02.612504 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 22-10-2020 02:42:02.628125 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 22-10-2020 02:42:02.628125 | Thread id: 00000000010 | INFO | Loading settings: 22-10-2020 02:42:02.628125 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 22-10-2020 02:42:02.628125 | Thread id: 00000000007 | INFO | do run synchronization 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Loading settings: 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Loading settings: 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | Loading settings: 22-10-2020 02:42:02.628125 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 22-10-2020 02:42:02.628125 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 22-10-2020 02:42:02.628125 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 22-10-2020 02:42:02.628125 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 22-10-2020 02:42:02.628125 | Thread id: 00000000011 | INFO | Start merge invoices 22-10-2020 02:42:02.628125 | Thread id: 00000000008 | INFO | Start generating student group emails 22-10-2020 02:42:02.643760 | Thread id: 00000000010 | INFO | Start cleanup database 22-10-2020 02:42:02.737506 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 22-10-2020 02:42:02.737506 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 22-10-2020 02:42:02.737506 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 22-10-2020 02:42:02.737506 | Thread id: 00000000009 | INFO | Start generating lessons 22-10-2020 02:42:02.862499 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 22-10-2020 02:42:02.862499 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 22-10-2020 02:42:02.878126 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 22-10-2020 02:42:02.878126 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 22-10-2020 02:42:02.878126 | Thread id: 00000000009 | INFO | Start clearing lockers 22-10-2020 02:42:02.893766 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-10-2020 02:42:02.893766 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 22-10-2020 02:42:02.893766 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 12-11-2020 04:53:23.007345 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | *********************************** 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | *********************************** 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 12-11-2020 04:53:23.038599 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 12-11-2020 04:53:23.038599 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 12-11-2020 04:53:23.038599 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 12-11-2020 04:53:23.038599 | Thread id: 00000000007 | INFO | do run synchronization 12-11-2020 04:53:23.038599 | Thread id: 00000000010 | INFO | Loading settings: 12-11-2020 04:53:23.038599 | Thread id: 00000000008 | INFO | Loading settings: 12-11-2020 04:53:23.038599 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 12-11-2020 04:53:23.038599 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Loading settings: 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Loading settings: 12-11-2020 04:53:23.038599 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 12-11-2020 04:53:23.038599 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 12-11-2020 04:53:23.038599 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 12-11-2020 04:53:23.038599 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 12-11-2020 04:53:23.038599 | Thread id: 00000000011 | INFO | Start merge invoices 12-11-2020 04:53:23.054226 | Thread id: 00000000008 | INFO | Start generating student group emails 12-11-2020 04:53:23.054226 | Thread id: 00000000010 | INFO | Start cleanup database 12-11-2020 04:53:23.147978 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 12-11-2020 04:53:23.163590 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 12-11-2020 04:53:23.163590 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 12-11-2020 04:53:23.163590 | Thread id: 00000000009 | INFO | Start generating lessons 12-11-2020 04:53:23.241847 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 12-11-2020 04:53:23.241847 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 12-11-2020 04:53:23.241847 | Thread id: 00000000009 | INFO | Start clearing lockers 12-11-2020 04:53:23.257480 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 12-11-2020 04:53:23.257480 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 12-11-2020 04:53:23.257480 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 12-11-2020 04:53:23.257480 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 12-11-2020 04:53:23.257480 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 19-11-2020 02:39:16.613086 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | *********************************** 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | *********************************** 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 19-11-2020 02:39:16.644327 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 19-11-2020 02:39:16.644327 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 19-11-2020 02:39:16.644327 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | Loading settings: 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Loading settings: 19-11-2020 02:39:16.644327 | Thread id: 00000000007 | INFO | do run synchronization 19-11-2020 02:39:16.644327 | Thread id: 00000000010 | INFO | Loading settings: 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Loading settings: 19-11-2020 02:39:16.644327 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 19-11-2020 02:39:16.644327 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 19-11-2020 02:39:16.644327 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 19-11-2020 02:39:16.644327 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 19-11-2020 02:39:16.644327 | Thread id: 00000000011 | INFO | Start merge invoices 19-11-2020 02:39:16.644327 | Thread id: 00000000008 | INFO | Start generating student group emails 19-11-2020 02:39:16.659944 | Thread id: 00000000010 | INFO | Start cleanup database 19-11-2020 02:39:16.769330 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 19-11-2020 02:39:16.769330 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 19-11-2020 02:39:16.769330 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 19-11-2020 02:39:16.769330 | Thread id: 00000000009 | INFO | Start generating lessons 19-11-2020 02:39:17.003700 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 19-11-2020 02:39:17.019326 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 19-11-2020 02:39:17.019326 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 19-11-2020 02:39:17.019326 | Thread id: 00000000009 | INFO | Start clearing lockers 19-11-2020 02:39:17.034972 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 19-11-2020 02:39:17.034972 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 19-11-2020 02:39:17.050580 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 19-11-2020 02:39:17.050580 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 28-11-2020 00:08:43.523550 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | *********************************** 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | *********************************** 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 28-11-2020 00:08:43.539153 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 28-11-2020 00:08:43.539153 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 28-11-2020 00:08:43.539153 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 28-11-2020 00:08:43.539153 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Loading settings: 28-11-2020 00:08:43.539153 | Thread id: 00000000010 | INFO | Loading settings: 28-11-2020 00:08:43.539153 | Thread id: 00000000007 | INFO | do run synchronization 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Loading settings: 28-11-2020 00:08:43.539153 | Thread id: 00000000008 | INFO | Loading settings: 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 28-11-2020 00:08:43.539153 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 28-11-2020 00:08:43.539153 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 28-11-2020 00:08:43.539153 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 28-11-2020 00:08:43.539153 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 28-11-2020 00:08:43.539153 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 28-11-2020 00:08:43.539153 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 28-11-2020 00:08:43.539153 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 28-11-2020 00:08:43.539153 | Thread id: 00000000011 | INFO | Start merge invoices 28-11-2020 00:08:43.539153 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 28-11-2020 00:08:43.554774 | Thread id: 00000000010 | INFO | Start cleanup database 28-11-2020 00:08:43.554774 | Thread id: 00000000008 | INFO | Start generating student group emails 28-11-2020 00:08:43.554774 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 28-11-2020 00:08:43.554774 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 28-11-2020 00:08:43.554774 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 28-11-2020 00:08:43.586027 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 28-11-2020 00:08:43.601652 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 28-11-2020 00:08:43.601652 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 28-11-2020 00:08:43.601652 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 28-11-2020 00:08:43.601652 | Thread id: 00000000009 | INFO | Start generating lessons 28-11-2020 00:08:43.617282 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 28-11-2020 00:08:43.617282 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 28-11-2020 00:08:43.632902 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 28-11-2020 00:08:43.632902 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 28-11-2020 00:08:43.664158 | Thread id: 00000000009 | INFO | Start clearing lockers 28-11-2020 00:08:43.679782 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 28-11-2020 00:08:43.679782 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 10-12-2020 02:50:06.422122 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | *********************************** 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | *********************************** 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 10-12-2020 02:50:06.453392 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 10-12-2020 02:50:06.453392 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 10-12-2020 02:50:06.453392 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 10-12-2020 02:50:06.453392 | Thread id: 00000000010 | INFO | Loading settings: 10-12-2020 02:50:06.453392 | Thread id: 00000000007 | INFO | do run synchronization 10-12-2020 02:50:06.453392 | Thread id: 00000000008 | INFO | Loading settings: 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Loading settings: 10-12-2020 02:50:06.453392 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 10-12-2020 02:50:06.453392 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 10-12-2020 02:50:06.453392 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Loading settings: 10-12-2020 02:50:06.453392 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 10-12-2020 02:50:06.453392 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 10-12-2020 02:50:06.453392 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 10-12-2020 02:50:06.453392 | Thread id: 00000000011 | INFO | Start merge invoices 10-12-2020 02:50:06.469007 | Thread id: 00000000008 | INFO | Start generating student group emails 10-12-2020 02:50:06.484625 | Thread id: 00000000010 | INFO | Start cleanup database 10-12-2020 02:50:06.593999 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 10-12-2020 02:50:06.593999 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 10-12-2020 02:50:06.593999 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 10-12-2020 02:50:06.593999 | Thread id: 00000000009 | INFO | Start generating lessons 10-12-2020 02:50:06.609629 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 10-12-2020 02:50:06.609629 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 10-12-2020 02:50:06.625254 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 10-12-2020 02:50:06.640875 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 10-12-2020 02:50:06.656505 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 10-12-2020 02:50:06.656505 | Thread id: 00000000009 | INFO | Start clearing lockers 10-12-2020 02:50:06.672134 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 10-12-2020 02:50:06.672134 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 25-12-2020 21:31:52.562227 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | *********************************** 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | *********************************** 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 25-12-2020 21:31:52.577878 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 25-12-2020 21:31:52.577878 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 25-12-2020 21:31:52.577878 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 25-12-2020 21:31:52.593475 | Thread id: 00000000008 | INFO | Loading settings: 25-12-2020 21:31:52.593475 | Thread id: 00000000011 | INFO | Loading settings: 25-12-2020 21:31:52.593475 | Thread id: 00000000010 | INFO | Loading settings: 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Loading settings: 25-12-2020 21:31:52.593475 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 25-12-2020 21:31:52.593475 | Thread id: 00000000007 | INFO | do run synchronization 25-12-2020 21:31:52.593475 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 25-12-2020 21:31:52.593475 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 25-12-2020 21:31:52.593475 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 25-12-2020 21:31:52.593475 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 25-12-2020 21:31:52.593475 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 25-12-2020 21:31:52.593475 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 25-12-2020 21:31:52.593475 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 25-12-2020 21:31:52.593475 | Thread id: 00000000011 | INFO | Start merge invoices 25-12-2020 21:31:52.593475 | Thread id: 00000000008 | INFO | Start generating student group emails 25-12-2020 21:31:52.609114 | Thread id: 00000000010 | INFO | Start cleanup database 25-12-2020 21:31:52.702843 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 25-12-2020 21:31:52.718498 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 25-12-2020 21:31:52.718498 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 25-12-2020 21:31:52.718498 | Thread id: 00000000009 | INFO | Start generating lessons 25-12-2020 21:31:52.827851 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 25-12-2020 21:31:52.827851 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 25-12-2020 21:31:52.827851 | Thread id: 00000000009 | INFO | Start clearing lockers 25-12-2020 21:31:52.843476 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 25-12-2020 21:31:52.843476 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 25-12-2020 21:31:52.843476 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 25-12-2020 21:31:52.859103 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 25-12-2020 21:31:52.859103 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-12-2020 06:59:35.900050 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | *********************************** 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | *********************************** 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 26-12-2020 06:59:35.915673 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 26-12-2020 06:59:35.915673 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 26-12-2020 06:59:35.915673 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 26-12-2020 06:59:35.915673 | Thread id: 00000000010 | INFO | Loading settings: 26-12-2020 06:59:35.915673 | Thread id: 00000000011 | INFO | Loading settings: 26-12-2020 06:59:35.915673 | Thread id: 00000000009 | INFO | Loading settings: 26-12-2020 06:59:35.915673 | Thread id: 00000000008 | INFO | Loading settings: 26-12-2020 06:59:35.931290 | Thread id: 00000000007 | INFO | do run synchronization 26-12-2020 06:59:35.931290 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 26-12-2020 06:59:35.931290 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 26-12-2020 06:59:35.931290 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 26-12-2020 06:59:35.931290 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 26-12-2020 06:59:35.931290 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 26-12-2020 06:59:35.931290 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 26-12-2020 06:59:35.931290 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 26-12-2020 06:59:35.931290 | Thread id: 00000000011 | INFO | Start merge invoices 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000010 | INFO | Start cleanup database 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 26-12-2020 06:59:35.931290 | Thread id: 00000000008 | INFO | Start generating student group emails 26-12-2020 06:59:35.931290 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 26-12-2020 06:59:35.978158 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 26-12-2020 06:59:35.978158 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 26-12-2020 06:59:35.978158 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 26-12-2020 06:59:35.993785 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 26-12-2020 06:59:35.993785 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 26-12-2020 06:59:35.993785 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 26-12-2020 06:59:35.993785 | Thread id: 00000000009 | INFO | Start generating lessons 26-12-2020 06:59:35.993785 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-12-2020 06:59:36.009407 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 26-12-2020 06:59:36.009407 | Thread id: 00000000009 | INFO | Start clearing lockers 26-12-2020 06:59:36.056284 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 26-12-2020 06:59:36.056284 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-12-2020 22:21:21.363865 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | *********************************** 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | *********************************** 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 26-12-2020 22:21:21.379471 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 26-12-2020 22:21:21.379471 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 26-12-2020 22:21:21.379471 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 26-12-2020 22:21:21.379471 | Thread id: 00000000011 | INFO | Loading settings: 26-12-2020 22:21:21.379471 | Thread id: 00000000009 | INFO | Loading settings: 26-12-2020 22:21:21.379471 | Thread id: 00000000010 | INFO | Loading settings: 26-12-2020 22:21:21.379471 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 26-12-2020 22:21:21.379471 | Thread id: 00000000007 | INFO | do run synchronization 26-12-2020 22:21:21.379471 | Thread id: 00000000008 | INFO | Loading settings: 26-12-2020 22:21:21.379471 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 26-12-2020 22:21:21.379471 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 26-12-2020 22:21:21.379471 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 26-12-2020 22:21:21.379471 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 26-12-2020 22:21:21.379471 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 26-12-2020 22:21:21.379471 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 26-12-2020 22:21:21.379471 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 26-12-2020 22:21:21.379471 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 26-12-2020 22:21:21.379471 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 26-12-2020 22:21:21.395096 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 26-12-2020 22:21:21.395096 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 26-12-2020 22:21:21.395096 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 26-12-2020 22:21:21.395096 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 26-12-2020 22:21:21.395096 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 26-12-2020 22:21:21.395096 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 26-12-2020 22:21:21.395096 | Thread id: 00000000011 | INFO | Start merge invoices 26-12-2020 22:21:21.395096 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 26-12-2020 22:21:21.395096 | Thread id: 00000000008 | INFO | Start generating student group emails 26-12-2020 22:21:21.395096 | Thread id: 00000000010 | INFO | Start cleanup database 26-12-2020 22:21:21.426352 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 26-12-2020 22:21:21.426352 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 26-12-2020 22:21:21.426352 | Thread id: 00000000009 | INFO | Start generating lessons 26-12-2020 22:21:21.426352 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 26-12-2020 22:21:21.441976 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 26-12-2020 22:21:21.441976 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 26-12-2020 22:21:21.441976 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 26-12-2020 22:21:21.457604 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 26-12-2020 22:21:21.457604 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 26-12-2020 22:21:21.457604 | Thread id: 00000000009 | INFO | Start clearing lockers 26-12-2020 22:21:21.504477 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 26-12-2020 22:21:21.504477 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 28-12-2020 13:39:45.020771 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | *********************************** 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | *********************************** 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 28-12-2020 13:39:45.036401 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 28-12-2020 13:39:45.036401 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 28-12-2020 13:39:45.036401 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 28-12-2020 13:39:45.036401 | Thread id: 00000000010 | INFO | Loading settings: 28-12-2020 13:39:45.036401 | Thread id: 00000000011 | INFO | Loading settings: 28-12-2020 13:39:45.036401 | Thread id: 00000000007 | INFO | do run synchronization 28-12-2020 13:39:45.036401 | Thread id: 00000000009 | INFO | Loading settings: 28-12-2020 13:39:45.036401 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 28-12-2020 13:39:45.036401 | Thread id: 00000000008 | INFO | Loading settings: 28-12-2020 13:39:45.036401 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 28-12-2020 13:39:45.036401 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 28-12-2020 13:39:45.036401 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 28-12-2020 13:39:45.036401 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 28-12-2020 13:39:45.036401 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 28-12-2020 13:39:45.036401 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 28-12-2020 13:39:45.036401 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 28-12-2020 13:39:45.036401 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 28-12-2020 13:39:45.036401 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 28-12-2020 13:39:45.052023 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 28-12-2020 13:39:45.052023 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 28-12-2020 13:39:45.052023 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 28-12-2020 13:39:45.052023 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 28-12-2020 13:39:45.052023 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 28-12-2020 13:39:45.052023 | Thread id: 00000000011 | INFO | Start merge invoices 28-12-2020 13:39:45.052023 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 28-12-2020 13:39:45.052023 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 28-12-2020 13:39:45.052023 | Thread id: 00000000008 | INFO | Start generating student group emails 28-12-2020 13:39:45.052023 | Thread id: 00000000010 | INFO | Start cleanup database 28-12-2020 13:39:45.083268 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 28-12-2020 13:39:45.098897 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 28-12-2020 13:39:45.098897 | Thread id: 00000000009 | INFO | Start generating lessons 28-12-2020 13:39:45.098897 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 28-12-2020 13:39:45.098897 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 28-12-2020 13:39:45.098897 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 28-12-2020 13:39:45.098897 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 28-12-2020 13:39:45.114520 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 28-12-2020 13:39:45.114520 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 28-12-2020 13:39:45.114520 | Thread id: 00000000009 | INFO | Start clearing lockers 28-12-2020 13:39:45.177021 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 28-12-2020 13:39:45.177021 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 14-01-2021 06:03:41.045809 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | *********************************** 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | *********************************** 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 14-01-2021 06:03:41.061438 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 14-01-2021 06:03:41.061438 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 14-01-2021 06:03:41.061438 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 14-01-2021 06:03:41.061438 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Loading settings: 14-01-2021 06:03:41.061438 | Thread id: 00000000010 | INFO | Loading settings: 14-01-2021 06:03:41.061438 | Thread id: 00000000008 | INFO | Loading settings: 14-01-2021 06:03:41.061438 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 14-01-2021 06:03:41.061438 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 14-01-2021 06:03:41.061438 | Thread id: 00000000007 | INFO | do run synchronization 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Loading settings: 14-01-2021 06:03:41.061438 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 14-01-2021 06:03:41.061438 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000011 | INFO | Start merge invoices 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 14-01-2021 06:03:41.061438 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 14-01-2021 06:03:41.077063 | Thread id: 00000000008 | INFO | Start generating student group emails 14-01-2021 06:03:41.077063 | Thread id: 00000000010 | INFO | Start cleanup database 14-01-2021 06:03:41.170813 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 14-01-2021 06:03:41.170813 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 14-01-2021 06:03:41.170813 | Thread id: 00000000009 | INFO | Start generating lessons 14-01-2021 06:03:41.202072 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 14-01-2021 06:03:41.264563 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 14-01-2021 06:03:41.264563 | Thread id: 00000000009 | INFO | Start clearing lockers 14-01-2021 06:03:41.264563 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 14-01-2021 06:03:41.280195 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 14-01-2021 06:03:41.280195 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 14-01-2021 06:03:41.280195 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 14-01-2021 06:03:41.280195 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 14-01-2021 06:03:41.280195 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 21-01-2021 02:50:55.821500 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 21-01-2021 02:50:55.899616 | Thread id: 00000000005 | INFO | *********************************** 21-01-2021 02:50:55.899616 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | *********************************** 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 21-01-2021 02:50:55.915238 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | Loading settings: 21-01-2021 02:50:55.915238 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 21-01-2021 02:50:55.915238 | Thread id: 00000000010 | INFO | Loading settings: 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Loading settings: 21-01-2021 02:50:55.915238 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Loading settings: 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 21-01-2021 02:50:55.915238 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 21-01-2021 02:50:55.915238 | Thread id: 00000000007 | INFO | do run synchronization 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 21-01-2021 02:50:55.915238 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 21-01-2021 02:50:55.915238 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 21-01-2021 02:50:55.915238 | Thread id: 00000000011 | INFO | Start merge invoices 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 21-01-2021 02:50:55.915238 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 21-01-2021 02:50:55.915238 | Thread id: 00000000008 | INFO | Start generating student group emails 21-01-2021 02:50:55.930871 | Thread id: 00000000010 | INFO | Start cleanup database 21-01-2021 02:50:56.024620 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 21-01-2021 02:50:56.024620 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 21-01-2021 02:50:56.024620 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 21-01-2021 02:50:56.024620 | Thread id: 00000000009 | INFO | Start generating lessons 21-01-2021 02:50:56.071490 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 21-01-2021 02:50:56.071490 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 21-01-2021 02:50:56.087115 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 21-01-2021 02:50:56.087115 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 21-01-2021 02:50:56.087115 | Thread id: 00000000009 | INFO | Start clearing lockers 21-01-2021 02:50:56.102744 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 21-01-2021 02:50:56.102744 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 21-01-2021 02:50:56.102744 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 21-01-2021 09:46:36.287738 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | *********************************** 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | *********************************** 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 21-01-2021 09:46:36.303364 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 21-01-2021 09:46:36.303364 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 21-01-2021 09:46:36.303364 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 21-01-2021 09:46:36.303364 | Thread id: 00000000007 | INFO | do run synchronization 21-01-2021 09:46:36.303364 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 21-01-2021 09:46:36.303364 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 21-01-2021 09:46:36.303364 | Thread id: 00000000010 | INFO | Loading settings: 21-01-2021 09:46:36.303364 | Thread id: 00000000009 | INFO | Loading settings: 21-01-2021 09:46:36.303364 | Thread id: 00000000008 | INFO | Loading settings: 21-01-2021 09:46:36.303364 | Thread id: 00000000011 | INFO | Loading settings: 21-01-2021 09:46:36.303364 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 21-01-2021 09:46:36.303364 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 21-01-2021 09:46:36.303364 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 21-01-2021 09:46:36.303364 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 21-01-2021 09:46:36.318967 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 21-01-2021 09:46:36.318967 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 21-01-2021 09:46:36.318967 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 21-01-2021 09:46:36.318967 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 21-01-2021 09:46:36.318967 | Thread id: 00000000011 | INFO | Start merge invoices 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 21-01-2021 09:46:36.318967 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 21-01-2021 09:46:36.318967 | Thread id: 00000000008 | INFO | Start generating student group emails 21-01-2021 09:46:36.318967 | Thread id: 00000000010 | INFO | Start cleanup database 21-01-2021 09:46:36.350207 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 21-01-2021 09:46:36.365829 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 21-01-2021 09:46:36.365829 | Thread id: 00000000009 | INFO | Start generating lessons 21-01-2021 09:46:36.365829 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 21-01-2021 09:46:36.365829 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 21-01-2021 09:46:36.381458 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 21-01-2021 09:46:36.381458 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 21-01-2021 09:46:36.381458 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 21-01-2021 09:46:36.381458 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 21-01-2021 09:46:36.381458 | Thread id: 00000000009 | INFO | Start clearing lockers 21-01-2021 09:46:36.459595 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 21-01-2021 09:46:36.459595 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 25-01-2021 10:33:05.918752 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | *********************************** 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | *********************************** 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 25-01-2021 10:33:05.934353 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 25-01-2021 10:33:05.934353 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 25-01-2021 10:33:05.934353 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 25-01-2021 10:33:05.934353 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 25-01-2021 10:33:05.934353 | Thread id: 00000000008 | INFO | Loading settings: 25-01-2021 10:33:05.934353 | Thread id: 00000000007 | INFO | do run synchronization 25-01-2021 10:33:05.934353 | Thread id: 00000000010 | INFO | Loading settings: 25-01-2021 10:33:05.934353 | Thread id: 00000000009 | INFO | Loading settings: 25-01-2021 10:33:05.934353 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 25-01-2021 10:33:05.934353 | Thread id: 00000000011 | INFO | Loading settings: 25-01-2021 10:33:05.934353 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 25-01-2021 10:33:05.934353 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 25-01-2021 10:33:05.934353 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 25-01-2021 10:33:05.934353 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 25-01-2021 10:33:05.934353 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 25-01-2021 10:33:05.950534 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 25-01-2021 10:33:05.950534 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 25-01-2021 10:33:05.950534 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 25-01-2021 10:33:05.950534 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 25-01-2021 10:33:05.950534 | Thread id: 00000000008 | INFO | Start generating student group emails 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 25-01-2021 10:33:05.950534 | Thread id: 00000000010 | INFO | Start cleanup database 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 25-01-2021 10:33:05.950534 | Thread id: 00000000011 | INFO | Start merge invoices 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 25-01-2021 10:33:05.950534 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 25-01-2021 10:33:05.996832 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 25-01-2021 10:33:06.012463 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 25-01-2021 10:33:06.012463 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 25-01-2021 10:33:06.012463 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 25-01-2021 10:33:06.012463 | Thread id: 00000000009 | INFO | Start generating lessons 25-01-2021 10:33:06.028090 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 25-01-2021 10:33:06.028090 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 25-01-2021 10:33:06.028090 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 25-01-2021 10:33:06.043758 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 25-01-2021 10:33:06.043758 | Thread id: 00000000009 | INFO | Start clearing lockers 25-01-2021 10:33:06.074988 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 25-01-2021 10:33:06.074988 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 30-01-2021 16:46:23.267054 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | *********************************** 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | *********************************** 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 30-01-2021 16:46:23.282674 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 30-01-2021 16:46:23.282674 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 30-01-2021 16:46:23.282674 | Thread id: 00000000010 | INFO | Loading settings: 30-01-2021 16:46:23.282674 | Thread id: 00000000007 | INFO | do run synchronization 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | Loading settings: 30-01-2021 16:46:23.282674 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 30-01-2021 16:46:23.282674 | Thread id: 00000000009 | INFO | Loading settings: 30-01-2021 16:46:23.282674 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 30-01-2021 16:46:23.282674 | Thread id: 00000000011 | INFO | Loading settings: 30-01-2021 16:46:23.282674 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 30-01-2021 16:46:23.282674 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 30-01-2021 16:46:23.282674 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 30-01-2021 16:46:23.282674 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 30-01-2021 16:46:23.282674 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 30-01-2021 16:46:23.282674 | Thread id: 00000000008 | INFO | Start generating student group emails 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 30-01-2021 16:46:23.298301 | Thread id: 00000000010 | INFO | Start cleanup database 30-01-2021 16:46:23.298301 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 30-01-2021 16:46:23.298301 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 30-01-2021 16:46:23.298301 | Thread id: 00000000011 | INFO | Start merge invoices 30-01-2021 16:46:23.329550 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 30-01-2021 16:46:23.329550 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 30-01-2021 16:46:23.329550 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 30-01-2021 16:46:23.329550 | Thread id: 00000000009 | INFO | Start generating lessons 30-01-2021 16:46:23.345173 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 30-01-2021 16:46:23.345173 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 30-01-2021 16:46:23.345173 | Thread id: 00000000009 | INFO | Start clearing lockers 30-01-2021 16:46:23.361099 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 30-01-2021 16:46:23.361099 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 30-01-2021 16:46:23.361099 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 30-01-2021 16:46:23.407682 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 30-01-2021 16:46:23.407682 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 08-02-2021 15:44:19.468339 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | *********************************** 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | *********************************** 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 08-02-2021 15:44:19.483965 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 08-02-2021 15:44:19.483965 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 08-02-2021 15:44:19.483965 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 08-02-2021 15:44:19.483965 | Thread id: 00000000007 | INFO | do run synchronization 08-02-2021 15:44:19.483965 | Thread id: 00000000009 | INFO | Loading settings: 08-02-2021 15:44:19.483965 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 08-02-2021 15:44:19.483965 | Thread id: 00000000010 | INFO | Loading settings: 08-02-2021 15:44:19.483965 | Thread id: 00000000008 | INFO | Loading settings: 08-02-2021 15:44:19.483965 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 08-02-2021 15:44:19.483965 | Thread id: 00000000011 | INFO | Loading settings: 08-02-2021 15:44:19.483965 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 08-02-2021 15:44:19.483965 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 08-02-2021 15:44:19.483965 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 08-02-2021 15:44:19.483965 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 08-02-2021 15:44:19.483965 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 08-02-2021 15:44:19.483965 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 08-02-2021 15:44:19.483965 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 08-02-2021 15:44:19.483965 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 08-02-2021 15:44:19.483965 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 08-02-2021 15:44:19.483965 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 08-02-2021 15:44:19.499557 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 08-02-2021 15:44:19.499557 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 08-02-2021 15:44:19.499557 | Thread id: 00000000011 | INFO | Start merge invoices 08-02-2021 15:44:19.499557 | Thread id: 00000000008 | INFO | Start generating student group emails 08-02-2021 15:44:19.499557 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 08-02-2021 15:44:19.499557 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 08-02-2021 15:44:19.499557 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 08-02-2021 15:44:19.499557 | Thread id: 00000000010 | INFO | Start cleanup database 08-02-2021 15:44:19.530840 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 08-02-2021 15:44:19.546435 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 08-02-2021 15:44:19.546435 | Thread id: 00000000009 | INFO | Start generating lessons 08-02-2021 15:44:19.562054 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 08-02-2021 15:44:19.562054 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 08-02-2021 15:44:19.577679 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 08-02-2021 15:44:19.577679 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 08-02-2021 15:44:19.577679 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 08-02-2021 15:44:19.577679 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 08-02-2021 15:44:19.577679 | Thread id: 00000000009 | INFO | Start clearing lockers 08-02-2021 15:44:19.608930 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 08-02-2021 15:44:19.655816 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-02-2021 04:54:56.939197 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | *********************************** 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | *********************************** 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 11-02-2021 04:54:56.954827 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 11-02-2021 04:54:56.954827 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 11-02-2021 04:54:56.954827 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 11-02-2021 04:54:56.954827 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 11-02-2021 04:54:56.954827 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 11-02-2021 04:54:56.954827 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 11-02-2021 04:54:56.954827 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 11-02-2021 04:54:56.954827 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 11-02-2021 04:54:56.970448 | Thread id: 00000000010 | INFO | Loading settings: 11-02-2021 04:54:56.970448 | Thread id: 00000000007 | INFO | do run synchronization 11-02-2021 04:54:56.970448 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 11-02-2021 04:54:56.970448 | Thread id: 00000000011 | INFO | Loading settings: 11-02-2021 04:54:56.970448 | Thread id: 00000000008 | INFO | Loading settings: 11-02-2021 04:54:56.970448 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Loading settings: 11-02-2021 04:54:56.970448 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 11-02-2021 04:54:56.970448 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 11-02-2021 04:54:56.970448 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 11-02-2021 04:54:56.970448 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 11-02-2021 04:54:56.970448 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 11-02-2021 04:54:56.970448 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 11-02-2021 04:54:56.970448 | Thread id: 00000000011 | INFO | Start merge invoices 11-02-2021 04:54:56.970448 | Thread id: 00000000008 | INFO | Start generating student group emails 11-02-2021 04:54:56.970448 | Thread id: 00000000010 | INFO | Start cleanup database 11-02-2021 04:54:57.048582 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 11-02-2021 04:54:57.064206 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 11-02-2021 04:54:57.064206 | Thread id: 00000000009 | INFO | Start generating lessons 11-02-2021 04:54:57.079828 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 11-02-2021 04:54:57.189205 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 11-02-2021 04:54:57.204832 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 11-02-2021 04:54:57.204832 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 11-02-2021 04:54:57.204832 | Thread id: 00000000009 | INFO | Start clearing lockers 11-02-2021 04:54:57.220460 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 11-02-2021 04:54:57.220460 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 11-02-2021 04:54:57.251710 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-02-2021 04:54:57.251710 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-02-2021 13:53:39.436198 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | *********************************** 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | *********************************** 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 13-02-2021 13:53:39.451817 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 13-02-2021 13:53:39.451817 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 13-02-2021 13:53:39.451817 | Thread id: 00000000007 | INFO | do run synchronization 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Loading settings: 13-02-2021 13:53:39.451817 | Thread id: 00000000010 | INFO | Loading settings: 13-02-2021 13:53:39.451817 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | Loading settings: 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Loading settings: 13-02-2021 13:53:39.451817 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 13-02-2021 13:53:39.451817 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 13-02-2021 13:53:39.451817 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 13-02-2021 13:53:39.451817 | Thread id: 00000000011 | INFO | Start merge invoices 13-02-2021 13:53:39.451817 | Thread id: 00000000008 | INFO | Start generating student group emails 13-02-2021 13:53:39.451817 | Thread id: 00000000010 | INFO | Start cleanup database 13-02-2021 13:53:39.483082 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 13-02-2021 13:53:39.498696 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 13-02-2021 13:53:39.498696 | Thread id: 00000000009 | INFO | Start generating lessons 13-02-2021 13:53:39.514316 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 13-02-2021 13:53:39.514316 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 13-02-2021 13:53:39.514316 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 13-02-2021 13:53:39.514316 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-02-2021 13:53:39.514316 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 13-02-2021 13:53:39.514316 | Thread id: 00000000009 | INFO | Start clearing lockers 13-02-2021 13:53:39.529940 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 13-02-2021 13:53:39.576819 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 13-02-2021 13:53:39.576819 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-02-2021 15:59:18.556251 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | *********************************** 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | *********************************** 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 13-02-2021 15:59:18.571893 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 13-02-2021 15:59:18.571893 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 13-02-2021 15:59:18.571893 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 13-02-2021 15:59:18.571893 | Thread id: 00000000011 | INFO | Loading settings: 13-02-2021 15:59:18.571893 | Thread id: 00000000007 | INFO | do run synchronization 13-02-2021 15:59:18.571893 | Thread id: 00000000008 | INFO | Loading settings: 13-02-2021 15:59:18.571893 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 13-02-2021 15:59:18.571893 | Thread id: 00000000010 | INFO | Loading settings: 13-02-2021 15:59:18.571893 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 13-02-2021 15:59:18.571893 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 13-02-2021 15:59:18.571893 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 13-02-2021 15:59:18.571893 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 13-02-2021 15:59:18.571893 | Thread id: 00000000009 | INFO | Loading settings: 13-02-2021 15:59:18.571893 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 13-02-2021 15:59:18.571893 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 13-02-2021 15:59:18.571893 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 13-02-2021 15:59:18.571893 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 13-02-2021 15:59:18.571893 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 13-02-2021 15:59:18.571893 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 13-02-2021 15:59:18.571893 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 13-02-2021 15:59:18.587500 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 13-02-2021 15:59:18.587500 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 13-02-2021 15:59:18.587500 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 13-02-2021 15:59:18.587500 | Thread id: 00000000008 | INFO | Start generating student group emails 13-02-2021 15:59:18.587500 | Thread id: 00000000011 | INFO | Start merge invoices 13-02-2021 15:59:18.587500 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 13-02-2021 15:59:18.587500 | Thread id: 00000000010 | INFO | Start cleanup database 13-02-2021 15:59:18.587500 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 13-02-2021 15:59:18.618753 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 13-02-2021 15:59:18.618753 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 13-02-2021 15:59:18.618753 | Thread id: 00000000009 | INFO | Start generating lessons 13-02-2021 15:59:18.618753 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 13-02-2021 15:59:18.634383 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 13-02-2021 15:59:18.634383 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 13-02-2021 15:59:18.634383 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-02-2021 15:59:18.650011 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 13-02-2021 15:59:18.650011 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 13-02-2021 15:59:18.650011 | Thread id: 00000000009 | INFO | Start clearing lockers 13-02-2021 15:59:18.665624 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 13-02-2021 15:59:18.665624 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 27-02-2021 16:50:04.672505 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | *********************************** 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | *********************************** 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 27-02-2021 16:50:04.688119 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 27-02-2021 16:50:04.688119 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 27-02-2021 16:50:04.688119 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 27-02-2021 16:50:04.688119 | Thread id: 00000000010 | INFO | Loading settings: 27-02-2021 16:50:04.688119 | Thread id: 00000000009 | INFO | Loading settings: 27-02-2021 16:50:04.688119 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 27-02-2021 16:50:04.688119 | Thread id: 00000000007 | INFO | do run synchronization 27-02-2021 16:50:04.688119 | Thread id: 00000000011 | INFO | Loading settings: 27-02-2021 16:50:04.688119 | Thread id: 00000000008 | INFO | Loading settings: 27-02-2021 16:50:04.688119 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 27-02-2021 16:50:04.688119 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 27-02-2021 16:50:04.688119 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 27-02-2021 16:50:04.688119 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 27-02-2021 16:50:04.688119 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 27-02-2021 16:50:04.688119 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 27-02-2021 16:50:04.703737 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 27-02-2021 16:50:04.703737 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 27-02-2021 16:50:04.703737 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 27-02-2021 16:50:04.703737 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 27-02-2021 16:50:04.703737 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 27-02-2021 16:50:04.703737 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 27-02-2021 16:50:04.703737 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 27-02-2021 16:50:04.703737 | Thread id: 00000000011 | INFO | Start merge invoices 27-02-2021 16:50:04.703737 | Thread id: 00000000010 | INFO | Start cleanup database 27-02-2021 16:50:04.703737 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 27-02-2021 16:50:04.703737 | Thread id: 00000000008 | INFO | Start generating student group emails 27-02-2021 16:50:04.719368 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 27-02-2021 16:50:04.734989 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 27-02-2021 16:50:04.750613 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 27-02-2021 16:50:04.750613 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 27-02-2021 16:50:04.766235 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 27-02-2021 16:50:04.766235 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 27-02-2021 16:50:04.766235 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 27-02-2021 16:50:04.766235 | Thread id: 00000000009 | INFO | Start generating lessons 27-02-2021 16:50:04.766235 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 27-02-2021 16:50:04.766235 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 27-02-2021 16:50:04.781863 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 27-02-2021 16:50:04.781863 | Thread id: 00000000009 | INFO | Start clearing lockers 27-02-2021 16:50:04.828757 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 27-02-2021 16:50:04.828757 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 03-03-2021 09:40:33.065698 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | *********************************** 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | *********************************** 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 03-03-2021 09:40:33.081327 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 03-03-2021 09:40:33.081327 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 03-03-2021 09:40:33.081327 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 03-03-2021 09:40:33.081327 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 03-03-2021 09:40:33.081327 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 03-03-2021 09:40:33.081327 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 03-03-2021 09:40:33.081327 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 03-03-2021 09:40:33.081327 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 03-03-2021 09:40:33.096924 | Thread id: 00000000011 | INFO | Loading settings: 03-03-2021 09:40:33.096924 | Thread id: 00000000008 | INFO | Loading settings: 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Loading settings: 03-03-2021 09:40:33.096924 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 03-03-2021 09:40:33.096924 | Thread id: 00000000007 | INFO | do run synchronization 03-03-2021 09:40:33.096924 | Thread id: 00000000010 | INFO | Loading settings: 03-03-2021 09:40:33.096924 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 03-03-2021 09:40:33.096924 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 03-03-2021 09:40:33.096924 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 03-03-2021 09:40:33.096924 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 03-03-2021 09:40:33.096924 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 03-03-2021 09:40:33.096924 | Thread id: 00000000011 | INFO | Start merge invoices 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 03-03-2021 09:40:33.096924 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 03-03-2021 09:40:33.096924 | Thread id: 00000000008 | INFO | Start generating student group emails 03-03-2021 09:40:33.096924 | Thread id: 00000000010 | INFO | Start cleanup database 03-03-2021 09:40:33.159426 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 03-03-2021 09:40:33.159426 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 03-03-2021 09:40:33.175059 | Thread id: 00000000009 | INFO | Start generating lessons 03-03-2021 09:40:33.190806 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 03-03-2021 09:40:33.190806 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 03-03-2021 09:40:33.190806 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 03-03-2021 09:40:33.190806 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 03-03-2021 09:40:33.190806 | Thread id: 00000000009 | INFO | Start clearing lockers 03-03-2021 09:40:33.190806 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 03-03-2021 09:40:33.206318 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 03-03-2021 09:40:33.268834 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 03-03-2021 09:40:33.268834 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-03-2021 02:13:02.282302 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | *********************************** 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | *********************************** 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 11-03-2021 02:13:02.297937 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 11-03-2021 02:13:02.297937 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 11-03-2021 02:13:02.297937 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 11-03-2021 02:13:02.297937 | Thread id: 00000000007 | INFO | do run synchronization 11-03-2021 02:13:02.297937 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Loading settings: 11-03-2021 02:13:02.297937 | Thread id: 00000000008 | INFO | Loading settings: 11-03-2021 02:13:02.297937 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Loading settings: 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 11-03-2021 02:13:02.297937 | Thread id: 00000000010 | INFO | Loading settings: 11-03-2021 02:13:02.297937 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 11-03-2021 02:13:02.297937 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000011 | INFO | Start merge invoices 11-03-2021 02:13:02.297937 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 11-03-2021 02:13:02.297937 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 11-03-2021 02:13:02.297937 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 11-03-2021 02:13:02.313542 | Thread id: 00000000008 | INFO | Start generating student group emails 11-03-2021 02:13:02.329198 | Thread id: 00000000010 | INFO | Start cleanup database 11-03-2021 02:13:02.438558 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 11-03-2021 02:13:02.438558 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 11-03-2021 02:13:02.454174 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 11-03-2021 02:13:02.454174 | Thread id: 00000000009 | INFO | Start generating lessons 11-03-2021 02:13:02.641680 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 11-03-2021 02:13:02.641680 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 11-03-2021 02:13:02.641680 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-03-2021 02:13:02.657307 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 11-03-2021 02:13:02.657307 | Thread id: 00000000009 | INFO | Start clearing lockers 11-03-2021 02:13:02.672939 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 11-03-2021 02:13:02.672939 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 11-03-2021 02:13:02.672939 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-03-2021 06:16:24.689349 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | *********************************** 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | *********************************** 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 11-03-2021 06:16:24.704962 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 11-03-2021 06:16:24.720582 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 11-03-2021 06:16:24.720582 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 11-03-2021 06:16:24.720582 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 11-03-2021 06:16:24.720582 | Thread id: 00000000010 | INFO | Loading settings: 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | Loading settings: 11-03-2021 06:16:24.720582 | Thread id: 00000000007 | INFO | do run synchronization 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Loading settings: 11-03-2021 06:16:24.720582 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 11-03-2021 06:16:24.720582 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Loading settings: 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 11-03-2021 06:16:24.720582 | Thread id: 00000000011 | INFO | Start merge invoices 11-03-2021 06:16:24.720582 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 11-03-2021 06:16:24.720582 | Thread id: 00000000008 | INFO | Start generating student group emails 11-03-2021 06:16:24.736207 | Thread id: 00000000010 | INFO | Start cleanup database 11-03-2021 06:16:24.783077 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 11-03-2021 06:16:24.798713 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 11-03-2021 06:16:24.798713 | Thread id: 00000000009 | INFO | Start generating lessons 11-03-2021 06:16:24.798713 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 11-03-2021 06:16:24.923714 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 11-03-2021 06:16:24.939345 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 11-03-2021 06:16:24.939345 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 11-03-2021 06:16:24.939345 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 11-03-2021 06:16:24.939345 | Thread id: 00000000009 | INFO | Start clearing lockers 11-03-2021 06:16:24.939345 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 11-03-2021 06:16:24.954956 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 11-03-2021 06:16:24.954956 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 12-03-2021 10:48:02.835893 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | *********************************** 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | *********************************** 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 12-03-2021 10:48:02.851496 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 12-03-2021 10:48:02.851496 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 12-03-2021 10:48:02.851496 | Thread id: 00000000010 | INFO | Loading settings: 12-03-2021 10:48:02.851496 | Thread id: 00000000008 | INFO | Loading settings: 12-03-2021 10:48:02.851496 | Thread id: 00000000007 | INFO | do run synchronization 12-03-2021 10:48:02.851496 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 12-03-2021 10:48:02.851496 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Loading settings: 12-03-2021 10:48:02.851496 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 12-03-2021 10:48:02.851496 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 12-03-2021 10:48:02.851496 | Thread id: 00000000011 | INFO | Loading settings: 12-03-2021 10:48:02.851496 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 12-03-2021 10:48:02.851496 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 12-03-2021 10:48:02.851496 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 12-03-2021 10:48:02.851496 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 12-03-2021 10:48:02.851496 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 12-03-2021 10:48:02.851496 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 12-03-2021 10:48:02.851496 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 12-03-2021 10:48:02.867122 | Thread id: 00000000008 | INFO | Start generating student group emails 12-03-2021 10:48:02.867122 | Thread id: 00000000011 | INFO | Start merge invoices 12-03-2021 10:48:02.867122 | Thread id: 00000000010 | INFO | Start cleanup database 12-03-2021 10:48:02.867122 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 12-03-2021 10:48:02.867122 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 12-03-2021 10:48:02.867122 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 12-03-2021 10:48:02.898376 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 12-03-2021 10:48:02.914028 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 12-03-2021 10:48:02.914028 | Thread id: 00000000009 | INFO | Start generating lessons 12-03-2021 10:48:02.914028 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 12-03-2021 10:48:02.914028 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 12-03-2021 10:48:02.929636 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 12-03-2021 10:48:02.929636 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 12-03-2021 10:48:02.929636 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 12-03-2021 10:48:02.929636 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 12-03-2021 10:48:02.929636 | Thread id: 00000000009 | INFO | Start clearing lockers 12-03-2021 10:48:02.992155 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 12-03-2021 10:48:02.992155 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-04-2021 04:15:37.542213 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | *********************************** 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | *********************************** 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 15-04-2021 04:15:37.557826 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 15-04-2021 04:15:37.557826 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 15-04-2021 04:15:37.573444 | Thread id: 00000000007 | INFO | do run synchronization 15-04-2021 04:15:37.573444 | Thread id: 00000000010 | INFO | Loading settings: 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | Loading settings: 15-04-2021 04:15:37.573444 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Loading settings: 15-04-2021 04:15:37.573444 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Loading settings: 15-04-2021 04:15:37.573444 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 15-04-2021 04:15:37.573444 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 15-04-2021 04:15:37.573444 | Thread id: 00000000011 | INFO | Start merge invoices 15-04-2021 04:15:37.573444 | Thread id: 00000000008 | INFO | Start generating student group emails 15-04-2021 04:15:37.589076 | Thread id: 00000000010 | INFO | Start cleanup database 15-04-2021 04:15:37.667201 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 15-04-2021 04:15:37.667201 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 15-04-2021 04:15:37.667201 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 15-04-2021 04:15:37.667201 | Thread id: 00000000009 | INFO | Start generating lessons 15-04-2021 04:15:37.839085 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 31 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 15-04-2021 04:15:37.854701 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 15-04-2021 04:15:37.854701 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 15-04-2021 04:15:37.854701 | Thread id: 00000000009 | INFO | Start clearing lockers 15-04-2021 04:15:37.870334 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 15-04-2021 04:15:37.870334 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 15-04-2021 04:15:37.870334 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 15-04-2021 04:15:37.870334 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-05-2021 04:50:22.142140 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | *********************************** 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | *********************************** 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 13-05-2021 04:50:22.157765 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 13-05-2021 04:50:22.157765 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 13-05-2021 04:50:22.157765 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 13-05-2021 04:50:22.157765 | Thread id: 00000000011 | INFO | Loading settings: 13-05-2021 04:50:22.157765 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 13-05-2021 04:50:22.157765 | Thread id: 00000000010 | INFO | Loading settings: 13-05-2021 04:50:22.157765 | Thread id: 00000000008 | INFO | Loading settings: 13-05-2021 04:50:22.157765 | Thread id: 00000000007 | INFO | do run synchronization 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Loading settings: 13-05-2021 04:50:22.157765 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 13-05-2021 04:50:22.157765 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 13-05-2021 04:50:22.157765 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 13-05-2021 04:50:22.157765 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 13-05-2021 04:50:22.157765 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 13-05-2021 04:50:22.157765 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 13-05-2021 04:50:22.157765 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 13-05-2021 04:50:22.173387 | Thread id: 00000000011 | INFO | Start merge invoices 13-05-2021 04:50:22.173387 | Thread id: 00000000008 | INFO | Start generating student group emails 13-05-2021 04:50:22.173387 | Thread id: 00000000010 | INFO | Start cleanup database 13-05-2021 04:50:22.251527 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 13-05-2021 04:50:22.251527 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 13-05-2021 04:50:22.251527 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 13-05-2021 04:50:22.251527 | Thread id: 00000000009 | INFO | Start generating lessons 13-05-2021 04:50:22.583565 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 13-05-2021 04:50:22.583565 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 13-05-2021 04:50:22.583565 | Thread id: 00000000009 | INFO | Start clearing lockers 13-05-2021 04:50:22.599227 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 13-05-2021 04:50:22.599227 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 13-05-2021 04:50:22.614852 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 13-05-2021 04:50:22.661717 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-05-2021 04:50:22.661717 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 10-06-2021 05:29:57.598833 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 10-06-2021 05:29:57.614458 | Thread id: 00000000005 | INFO | *********************************** 10-06-2021 05:29:57.614458 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 10-06-2021 05:29:57.614458 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 10-06-2021 05:29:57.614458 | Thread id: 00000000005 | INFO | *********************************** 10-06-2021 05:29:57.614458 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 10-06-2021 05:29:57.630073 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 10-06-2021 05:29:57.630073 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Loading settings: 10-06-2021 05:29:57.630073 | Thread id: 00000000010 | INFO | Loading settings: 10-06-2021 05:29:57.630073 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 10-06-2021 05:29:57.630073 | Thread id: 00000000007 | INFO | do run synchronization 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Loading settings: 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | Loading settings: 10-06-2021 05:29:57.630073 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000011 | INFO | Start merge invoices 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 10-06-2021 05:29:57.630073 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 10-06-2021 05:29:57.630073 | Thread id: 00000000008 | INFO | Start generating student group emails 10-06-2021 05:29:57.645693 | Thread id: 00000000010 | INFO | Start cleanup database 10-06-2021 05:29:57.739484 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 10-06-2021 05:29:57.739484 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 10-06-2021 05:29:57.739484 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 10-06-2021 05:29:57.739484 | Thread id: 00000000009 | INFO | Start generating lessons 10-06-2021 05:29:57.864479 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 10-06-2021 05:29:57.880093 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 10-06-2021 05:29:57.880093 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 10-06-2021 05:29:57.880093 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 10-06-2021 05:29:57.895714 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 10-06-2021 05:29:57.895714 | Thread id: 00000000009 | INFO | Start clearing lockers 10-06-2021 05:29:57.911340 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 10-06-2021 05:29:57.911340 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-06-2021 11:48:31.174642 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 13-06-2021 11:48:31.188645 | Thread id: 00000000005 | INFO | *********************************** 13-06-2021 11:48:31.188645 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 13-06-2021 11:48:31.189645 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 13-06-2021 11:48:31.189645 | Thread id: 00000000005 | INFO | *********************************** 13-06-2021 11:48:31.189645 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 13-06-2021 11:48:31.190644 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 13-06-2021 11:48:31.191646 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 13-06-2021 11:48:31.191646 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 13-06-2021 11:48:31.191646 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 13-06-2021 11:48:31.191646 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 13-06-2021 11:48:31.191646 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 13-06-2021 11:48:31.192651 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 13-06-2021 11:48:31.192651 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 13-06-2021 11:48:31.192651 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 13-06-2021 11:48:31.192651 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 13-06-2021 11:48:31.192651 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 13-06-2021 11:48:31.193650 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 13-06-2021 11:48:31.194645 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 13-06-2021 11:48:31.194645 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 13-06-2021 11:48:31.194645 | Thread id: 00000000007 | INFO | do run synchronization 13-06-2021 11:48:31.195652 | Thread id: 00000000008 | INFO | Loading settings: 13-06-2021 11:48:31.195652 | Thread id: 00000000011 | INFO | Loading settings: 13-06-2021 11:48:31.195652 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 13-06-2021 11:48:31.196649 | Thread id: 00000000009 | INFO | Loading settings: 13-06-2021 11:48:31.196649 | Thread id: 00000000010 | INFO | Loading settings: 13-06-2021 11:48:31.196649 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 13-06-2021 11:48:31.196649 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 13-06-2021 11:48:31.196649 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 13-06-2021 11:48:31.196649 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 13-06-2021 11:48:31.196649 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 13-06-2021 11:48:31.197646 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 13-06-2021 11:48:31.197646 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 13-06-2021 11:48:31.197646 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 13-06-2021 11:48:31.197646 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 13-06-2021 11:48:31.197646 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 13-06-2021 11:48:31.197646 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 13-06-2021 11:48:31.198646 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 13-06-2021 11:48:31.198646 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 13-06-2021 11:48:31.199646 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 13-06-2021 11:48:31.199646 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 13-06-2021 11:48:31.199646 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 13-06-2021 11:48:31.199646 | Thread id: 00000000011 | INFO | Start merge invoices 13-06-2021 11:48:31.200646 | Thread id: 00000000008 | INFO | Start generating student group emails 13-06-2021 11:48:31.201647 | Thread id: 00000000010 | INFO | Start cleanup database 13-06-2021 11:48:31.250648 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 13-06-2021 11:48:31.257647 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 13-06-2021 11:48:31.257647 | Thread id: 00000000009 | INFO | Start generating lessons 13-06-2021 11:48:31.262652 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 13-06-2021 11:48:31.368659 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 13-06-2021 11:48:31.368659 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 13-06-2021 11:48:31.369657 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 13-06-2021 11:48:31.370657 | Thread id: 00000000009 | INFO | Start clearing lockers 13-06-2021 11:48:31.370657 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 13-06-2021 11:48:31.439656 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 13-06-2021 11:48:31.448680 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 13-06-2021 11:48:31.448680 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 17-06-2021 02:51:45.827882 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 17-06-2021 02:51:45.921636 | Thread id: 00000000005 | INFO | *********************************** 17-06-2021 02:51:45.921636 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 17-06-2021 02:51:45.921636 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 17-06-2021 02:51:45.921636 | Thread id: 00000000005 | INFO | *********************************** 17-06-2021 02:51:45.921636 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 17-06-2021 02:51:45.937299 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 17-06-2021 02:51:45.937299 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 17-06-2021 02:51:45.937299 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | Loading settings: 17-06-2021 02:51:45.937299 | Thread id: 00000000010 | INFO | Loading settings: 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Loading settings: 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Loading settings: 17-06-2021 02:51:45.937299 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 17-06-2021 02:51:45.937299 | Thread id: 00000000007 | INFO | do run synchronization 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 17-06-2021 02:51:45.937299 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 17-06-2021 02:51:45.937299 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 17-06-2021 02:51:45.937299 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 17-06-2021 02:51:45.937299 | Thread id: 00000000008 | INFO | Start generating student group emails 17-06-2021 02:51:45.937299 | Thread id: 00000000011 | INFO | Start merge invoices 17-06-2021 02:51:45.952903 | Thread id: 00000000010 | INFO | Start cleanup database 17-06-2021 02:51:46.046641 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 17-06-2021 02:51:46.062257 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 17-06-2021 02:51:46.062257 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 17-06-2021 02:51:46.062257 | Thread id: 00000000009 | INFO | Start generating lessons 17-06-2021 02:51:46.140388 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 17-06-2021 02:51:46.140388 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 17-06-2021 02:51:46.156018 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 17-06-2021 02:51:46.156018 | Thread id: 00000000009 | INFO | Start clearing lockers 17-06-2021 02:51:46.171672 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 17-06-2021 02:51:46.171672 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 38 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 17-06-2021 02:51:46.171672 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 17-06-2021 02:51:46.171672 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-06-2021 20:04:37.417990 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | *********************************** 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | *********************************** 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 22-06-2021 20:04:37.433621 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 22-06-2021 20:04:37.433621 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 22-06-2021 20:04:37.433621 | Thread id: 00000000010 | INFO | Loading settings: 22-06-2021 20:04:37.433621 | Thread id: 00000000007 | INFO | do run synchronization 22-06-2021 20:04:37.433621 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 22-06-2021 20:04:37.433621 | Thread id: 00000000008 | INFO | Loading settings: 22-06-2021 20:04:37.433621 | Thread id: 00000000011 | INFO | Loading settings: 22-06-2021 20:04:37.433621 | Thread id: 00000000009 | INFO | Loading settings: 22-06-2021 20:04:37.433621 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 22-06-2021 20:04:37.433621 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 22-06-2021 20:04:37.433621 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 22-06-2021 20:04:37.433621 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 22-06-2021 20:04:37.433621 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 22-06-2021 20:04:37.433621 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 22-06-2021 20:04:37.433621 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 22-06-2021 20:04:37.433621 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 22-06-2021 20:04:37.433621 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 22-06-2021 20:04:37.433621 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 22-06-2021 20:04:37.433621 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 22-06-2021 20:04:37.433621 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 22-06-2021 20:04:37.433621 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 22-06-2021 20:04:37.433621 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 22-06-2021 20:04:37.449226 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 22-06-2021 20:04:37.449226 | Thread id: 00000000010 | INFO | Start cleanup database 22-06-2021 20:04:37.449226 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 22-06-2021 20:04:37.449226 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 22-06-2021 20:04:37.449226 | Thread id: 00000000011 | INFO | Start merge invoices 22-06-2021 20:04:37.449226 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 22-06-2021 20:04:37.449226 | Thread id: 00000000008 | INFO | Start generating student group emails 22-06-2021 20:04:37.480477 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 22-06-2021 20:04:37.480477 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 22-06-2021 20:04:37.480477 | Thread id: 00000000009 | INFO | Start generating lessons 22-06-2021 20:04:37.496101 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 22-06-2021 20:04:37.496101 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 22-06-2021 20:04:37.511728 | Thread id: 00000000009 | INFO | Start clearing lockers 22-06-2021 20:04:37.511728 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 22-06-2021 20:04:37.511728 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 22-06-2021 20:04:37.511728 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 22-06-2021 20:04:37.511728 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 22-06-2021 20:04:37.527432 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 22-06-2021 20:04:37.527432 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 08:04:28.290091 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 24-06-2021 08:04:28.305717 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 24-06-2021 08:04:28.305717 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 24-06-2021 08:04:28.305717 | Thread id: 00000000010 | INFO | Loading settings: 24-06-2021 08:04:28.305717 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 24-06-2021 08:04:28.305717 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 24-06-2021 08:04:28.305717 | Thread id: 00000000009 | INFO | Loading settings: 24-06-2021 08:04:28.305717 | Thread id: 00000000008 | INFO | Loading settings: 24-06-2021 08:04:28.305717 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 24-06-2021 08:04:28.305717 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 24-06-2021 08:04:28.305717 | Thread id: 00000000011 | INFO | Loading settings: 24-06-2021 08:04:28.305717 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 24-06-2021 08:04:28.305717 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 24-06-2021 08:04:28.321346 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 24-06-2021 08:04:28.321346 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 24-06-2021 08:04:28.321346 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 24-06-2021 08:04:28.321346 | Thread id: 00000000007 | INFO | do run synchronization 24-06-2021 08:04:28.321346 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 24-06-2021 08:04:28.321346 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 24-06-2021 08:04:28.321346 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 24-06-2021 08:04:28.321346 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 24-06-2021 08:04:28.321346 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 24-06-2021 08:04:28.321346 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 24-06-2021 08:04:28.321346 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 24-06-2021 08:04:28.321346 | Thread id: 00000000010 | INFO | Start cleanup database 24-06-2021 08:04:28.321346 | Thread id: 00000000008 | INFO | Start generating student group emails 24-06-2021 08:04:28.321346 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 24-06-2021 08:04:28.321346 | Thread id: 00000000011 | INFO | Start merge invoices 24-06-2021 08:04:28.321346 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 24-06-2021 08:04:28.352625 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 24-06-2021 08:04:28.383847 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 24-06-2021 08:04:28.383847 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 24-06-2021 08:04:28.383847 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 24-06-2021 08:04:28.399471 | Thread id: 00000000009 | INFO | Start generating lessons 24-06-2021 08:04:28.399471 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 24-06-2021 08:04:28.415097 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 24-06-2021 08:04:28.415097 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 24-06-2021 08:04:28.415097 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 08:04:28.446344 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 24-06-2021 08:04:28.446344 | Thread id: 00000000009 | INFO | Start clearing lockers 24-06-2021 08:04:28.524464 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 24-06-2021 08:04:28.524464 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 10:07:38.507215 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 24-06-2021 10:07:38.507215 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 24-06-2021 10:07:38.522844 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 24-06-2021 10:07:38.522844 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 24-06-2021 10:07:38.522844 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | Loading settings: 24-06-2021 10:07:38.522844 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 24-06-2021 10:07:38.522844 | Thread id: 00000000010 | INFO | Loading settings: 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Loading settings: 24-06-2021 10:07:38.522844 | Thread id: 00000000007 | INFO | do run synchronization 24-06-2021 10:07:38.522844 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 24-06-2021 10:07:38.522844 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Loading settings: 24-06-2021 10:07:38.522844 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 24-06-2021 10:07:38.522844 | Thread id: 00000000011 | INFO | Start merge invoices 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 24-06-2021 10:07:38.522844 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 24-06-2021 10:07:38.522844 | Thread id: 00000000008 | INFO | Start generating student group emails 24-06-2021 10:07:38.585372 | Thread id: 00000000010 | INFO | Start cleanup database 24-06-2021 10:07:38.725962 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 24-06-2021 10:07:38.741828 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 24-06-2021 10:07:38.741828 | Thread id: 00000000009 | INFO | Start generating lessons 24-06-2021 10:07:38.757205 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 24-06-2021 10:07:38.929098 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 24-06-2021 10:07:38.929098 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 24-06-2021 10:07:38.944708 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 24-06-2021 10:07:38.944708 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 24-06-2021 10:07:38.944708 | Thread id: 00000000009 | INFO | Start clearing lockers 24-06-2021 10:07:38.944708 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 10:07:38.976527 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 24-06-2021 10:07:38.976527 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 10:07:54.991403 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | *********************************** 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 24-06-2021 10:07:55.007036 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 24-06-2021 10:07:55.007036 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 24-06-2021 10:07:55.007036 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 24-06-2021 10:07:55.007036 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 24-06-2021 10:07:55.007036 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 24-06-2021 10:07:55.007036 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 24-06-2021 10:07:55.007036 | Thread id: 00000000010 | INFO | Loading settings: 24-06-2021 10:07:55.007036 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 24-06-2021 10:07:55.007036 | Thread id: 00000000009 | INFO | Loading settings: 24-06-2021 10:07:55.007036 | Thread id: 00000000007 | INFO | do run synchronization 24-06-2021 10:07:55.022655 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 24-06-2021 10:07:55.022655 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 24-06-2021 10:07:55.022655 | Thread id: 00000000008 | INFO | Loading settings: 24-06-2021 10:07:55.022655 | Thread id: 00000000011 | INFO | Loading settings: 24-06-2021 10:07:55.022655 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 24-06-2021 10:07:55.022655 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 24-06-2021 10:07:55.022655 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 24-06-2021 10:07:55.022655 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 24-06-2021 10:07:55.022655 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 24-06-2021 10:07:55.022655 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 24-06-2021 10:07:55.022655 | Thread id: 00000000010 | INFO | Start cleanup database 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 24-06-2021 10:07:55.022655 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 24-06-2021 10:07:55.022655 | Thread id: 00000000011 | INFO | Start merge invoices 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 24-06-2021 10:07:55.022655 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 24-06-2021 10:07:55.022655 | Thread id: 00000000008 | INFO | Start generating student group emails 24-06-2021 10:07:55.069530 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 24-06-2021 10:07:55.069530 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 24-06-2021 10:07:55.069530 | Thread id: 00000000009 | INFO | Start generating lessons 24-06-2021 10:07:55.085150 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 24-06-2021 10:07:55.100776 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 24-06-2021 10:07:55.100776 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 24-06-2021 10:07:55.100776 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 24-06-2021 10:07:55.100776 | Thread id: 00000000009 | INFO | Start clearing lockers 24-06-2021 10:07:55.100776 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 24-06-2021 10:07:55.116403 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 24-06-2021 10:07:55.132035 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 24-06-2021 10:07:55.132035 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 30-06-2021 06:05:00.980532 | Thread id: 00000000001 | ERROR | Error in WinConsystService.WinConsystService() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.BusinessLogic.WinConsystService..ctor() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService.cs:line 37 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | *********************************** 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | * Version: 1.7.7.3 * 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | * Copyright © 2019 VConsyst B.V. * 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | *********************************** 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting Main WinConsyst10 processing 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'Synchronization' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'Synchronization' started 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'GeneratingStudentGroupEmails' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'GeneratingStudentGroupEmails' started 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'Maintenance' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'Maintenance' started 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'CleanupDb' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'CleanupDb' started 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'MergeInvoices' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'MergeInvoices' started 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Starting job 'AutomaticVisits' 30-06-2021 06:05:01.011786 | Thread id: 00000000005 | INFO | Job 'AutomaticVisits' started 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Initializing job thread 'Maintenance', interval 500 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000007 | INFO | Initializing job thread 'Synchronization', interval 30000 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Initializing job thread 'MergeInvoices', interval 300000 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | Initializing job thread 'GeneratingStudentGroupEmails', interval 500 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000012 | INFO | Initializing job thread 'AutomaticVisits', interval 600000 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000010 | INFO | Initializing job thread 'CleanupDb', interval 600 ms 30-06-2021 06:05:01.011786 | Thread id: 00000000007 | INFO | Initialized job thread 'Synchronization' 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Loading settings: 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Loading settings: 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | Loading settings: 30-06-2021 06:05:01.011786 | Thread id: 00000000010 | INFO | Loading settings: 30-06-2021 06:05:01.011786 | Thread id: 00000000007 | INFO | do run synchronization 30-06-2021 06:05:01.011786 | Thread id: 00000000012 | INFO | Loading settings for job AutomaticVisits 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Time between running "Generating Recovery E-mails" job: 5 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Time between running "MergeInvoices" job: 5 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | Time between running "Generate Student group emails" job: 5 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000010 | INFO | Time between running "Cleanup Database" job: 30 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000007 | INFO | Synchronization: WinconDatabaseName=wincon 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Maximum Number of Recovery e-mails that will be generated when running the "Generating Recovery E-mails" job: 5 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Number of invoices to be merged at a time in the "MergeInvoices" job: 100 invoices 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | The amount of emails that should be generated in "Generate Student group emails" job are: 30 emails 30-06-2021 06:05:01.011786 | Thread id: 00000000010 | INFO | Initialized job thread 'CleanupDb' 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Time between running "Send E-mails" job: 60 seconds 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Initialized job thread 'MergeInvoices' 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | Initialized job thread 'GeneratingStudentGroupEmails' 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Maximum Number of e-mails that will be send when running the "Send E-mails" job: 2 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Time between running "Generate Lessons" job: 60 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Time between running "Clear Lockers" job: 10 minutes 30-06-2021 06:05:01.011786 | Thread id: 00000000009 | INFO | Initialized job thread 'Maintenance' 30-06-2021 06:05:01.011786 | Thread id: 00000000011 | INFO | Start merge invoices 30-06-2021 06:05:01.011786 | Thread id: 00000000008 | INFO | Start generating student group emails 30-06-2021 06:05:01.027417 | Thread id: 00000000010 | INFO | Start cleanup database 30-06-2021 06:05:01.105549 | Thread id: 00000000009 | INFO | Generate recovery e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateRecoveryMails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 150 30-06-2021 06:05:01.105549 | Thread id: 00000000009 | INFO | Send e-mails error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystServiceBase.GetSetting(WinConsystEntities db, SettingEnum setting) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystServiceBase.cs:line 624 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.SendEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 232 30-06-2021 06:05:01.105549 | Thread id: 00000000009 | INFO | Start generating lessons 30-06-2021 06:05:01.152416 | Thread id: 00000000008 | INFO | Generate student group emails Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WinConsyst.BusinessLogic.WinConsystService.GenerateStudentGroupEmails(Int32 amount, WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1432 at WinConsyst.Service.WinConsystJob.WinConsystGenerateStudentGroupEmailsJob.MergeEmails() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystGenerateStudentGroupEmailsJob.cs:line 76 30-06-2021 06:05:01.418334 | Thread id: 00000000011 | ERROR | Error in WinConsystService.MergeInvoices() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.MergeInvoices(Int32 numberOfInvoices) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\FrontdeskFunctions.cs:line 2294 30-06-2021 06:05:01.418334 | Thread id: 00000000009 | INFO | Generate Lessons Error: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyMetadataCollection`1 entitySets, EdmType[] edmTypes, MergeOption mergeOption) at System.Data.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, MergeOption mergeOption, ObjectParameter[] parameters) at WinConsyst.Model.WinConsystEntities.SP_GENERATELESSONS(Nullable`1 givenDate, Nullable`1 student_id) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystModel.Context.cs:line 2037 at WinConsyst.BusinessLogic.WinConsystService.GenerateLessons(WinConsystEntities db) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\StudentFunctions.cs:line 1422 at WinConsyst.Service.WinConsystJob.WinConsystMaintenanceJob.GenerateLessons() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystMaintenanceJob.cs:line 136 30-06-2021 06:05:01.418334 | Thread id: 00000000009 | INFO | Start clearing lockers 30-06-2021 06:05:01.433960 | Thread id: 00000000010 | INFO | System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 53 at WinConsyst.Service.WinConsystJob.WinConsystCleanDbJob.CleanupDatabase() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystCleanDbJob.cs:line 48 30-06-2021 06:05:01.527707 | Thread id: 00000000007 | INFO | OnThreadProc of job 'Synchronization' threw an exception(1): System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.RunWinConsystSynchronization(String dbName) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\AutomaticFunctions.cs:line 29 at WinConsyst.Service.WinConsystJob.WinConsystSynchronizationJob.OnThreadProc() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystJob\WinConsystSynchronizationJob.cs:line 33 at WinConsyst.Service.WinConsystServiceJob.ThreadProc(Object o) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\04_Service\WinConsystServiceJob.cs:line 61 30-06-2021 06:05:01.527707 | Thread id: 00000000009 | ERROR | Error in WinConsystService.SPML_DAILYCLEAR() - exception occurred: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Cannot open database "w10" requested by the login. The login failed. Login failed for user 'vconsyst'. at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) --- End of inner exception stack trace --- at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at WinConsyst.Model.WinConsystTransactionScope..ctor(WinConsystEntities db, IsolationLevel lockType) in e:\tfs\brs\cloudagent\44\s\WinConsyst10\00_Model\WinConsystTransactionScope.cs:line 40 at WinConsyst.BusinessLogic.WinConsystService.SPML_DAILYCLEAR() in e:\tfs\brs\cloudagent\44\s\WinConsyst10\03_BusinessLogic\WinConsystService_MultiLock.cs:line 583 30-06-2021 06:05:01.558952 | Thread id: 00000000011 | INFO | System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault). 30-06-2021 06:05:01.558952 | Thread id: 00000000009 | INFO | Clear lockers Error: System.ServiceModel.FaultException`1[WinConsyst.Model.Resources.WinConsystFault]: The creator of this fault did not specify a Reason. (Fault Detail is equal to WinConsyst.Model.Resources.WinConsystFault).