2025-04-28 19:37:16.3923 E:1 Lers.Server ============================================ 2025-04-28 19:37:16.3923 E:1 Lers.Server === Сервер запущен 2025-04-28 19:37:16.3923 E:1 Lers.Server ============================================ 2025-04-28 19:37:18.5912 E:9 Lers.ServerInfrastructure.ServerInitializer Система не активирована. 2025-04-28 19:41:22.0727 E:1 Lers.Server ============================================ 2025-04-28 19:41:22.0727 E:1 Lers.Server === Сервер запущен 2025-04-28 19:41:22.0727 E:1 Lers.Server ============================================ 2025-04-28 19:41:22.6230 E:9 Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (24ms) [Parameters=[], CommandType='Text', CommandTimeout='60'] DELETE FROM [u] FROM [UserSession] AS [u] 2025-04-28 19:41:23.1537 E:9 Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='60'] SELECT TOP(1) [s].[Id], [s].[BackupCount], [s].[BackupDirectory], [s].[BackupDatabase_VerifyAfterBackup], [s].[BadValuesThreshold_SystemsBadValuesThresholdsSerialized], [s].[DefaultColdWaterSummerTemp], [s].[DefaultColdWaterWinterTemp], [s].[DefaultMinOutdoorTemp], [s].[DefaultReturnPressure], [s].[DefaultSupplyPressure], [s].[PressureDisplayType], [s].[AccountLogStorageTime], [s].[DatabaseMaintenance_DeleteUnchangedDeviceConfig], [s].[EmailLogStorageTime], [s].[PollLogStorageTime], [s].[StorageTimeDeviceConfig], [s].[StorageTimeDeviceEvent], [s].[StorageTimeGprsSessions], [s].[StorageTimeIncidents], [s].[StorageTimeNodeEquipmentHistory], [s].[StorageTimeNotifications], [s].[StorageTimePowerData], [s].[StorageTimePreparedReports], [s].[SystemLogStorageTime], [s].[UserSessionLogStorageTime], [s].[DatabaseMaintenance_ConsumptionData_Current], [s].[DatabaseMaintenance_ConsumptionData_Day], [s].[DatabaseMaintenance_ConsumptionData_Hour], [s].[DatabaseMaintenance_ConsumptionData_Month], [s].[DatabaseMaintenance_TotalsData_Current], [s].[DatabaseMaintenance_TotalsData_Day], [s].[DatabaseMaintenance_TotalsData_Hour], [s].[DatabaseMaintenance_TotalsData_Month], [s].[DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized], [s].[DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized], [s].[DefaultNodeParameters_ParametersSerialized], [s].[DiagCurrentDataEnabled], [s].[DiagDayDataEnabled], [s].[DiagEnabled], [s].[DiagHourDataEnabled], [s].[Diag_IncidentsLifeTimeSerialized], [s].[GsmModemBaudRate], [s].[GsmModem_GsmModemDeviceName], [s].[GsmModemEnabled], [s].[GsmModemFlowControl], [s].[GsmModemModelId], [s].[GsmModem_RebootModemOnError], [s].[GsmModem_UseObsoleteGprsCall], [s].[Gui_AdminContacts], [s].[Gui_EnableCommunal], [s].[Gui_EnableDataTableUserSetting], [s].[Gui_EnableHolidaySkin], [s].[Gui_LoginLogoFileName], [s].[Gui_LogoFileName], [s].[Gui_SiteDescription], [s].[Gui_SiteTitle], [s].[Gui_Systems], [s].[Gui_UseTerritoryToSearchGeoLocation], [s].[Gui_UserLinkText], [s].[Gui_UserLinkURL], [s].[LogDebugMessages], [s].[Log_SystemLog_DisabledEvents], [s].[AllowSmsNotifications], [s].[MaxPartCountInMultipartSms], [s].[SmtpEnableSsl], [s].[SmtpLogin], [s].[SmtpPassword], [s].[SmtpPort], [s].[SmtpSenderAddress], [s].[SmtpSenderDisplayName], [s].[SmtpServer], [s].[Messaging_TelegramApiKey], [s].[Messaging_Customization_AdmissionDeadlineApproaching], [s].[Messaging_Customization_AdmissionDeadlineOverdue], [s].[Messaging_Customization_EquipmentCalibrationApproaching], [s].[Messaging_Customization_EquipmentCalibrationOverdue], [s].[Messaging_Customization_IncidentUpdate], [s].[Messaging_Customization_NewIncident], [s].[Messaging_Customization_NodeJobAssigned], [s].[Messaging_SmsGate_Enabled], [s].[Messaging_SmsGate_Login], [s].[Messaging_SmsGate_Password], [s].[Messaging_SmsGate_Port], [s].[Messaging_SmsGate_SenderName], [s].[Messaging_SmsGate_Server], [s].[Notification_AdmissionDateNotifyDayCount], [s].[CalibrationNotifyDayCount], [s].[JobDueDateNotifyDayCount], [s].[AllowedNodeFileExtensions], [s].[Other_BaseAddress], [s].[SaveGeneratedReportToDataBase], [s].[Poll_DeleteDataOnAutopoll], [s].[DeviceRequestRetryCount], [s].[Poll_DisablePortErrorCount], [s].[Poll_DontPollSuccessfulDevicesOnRetry], [s].[IgnoreNotAllDataReadError], [s].[IsAutoPollEnabled], [s].[Poll_NoCarrierToReboot], [s].[PollLogLevel], [s].[PollMaxDuration], [s].[PollMaxTimeDiff], [s].[PollPortBlockErrorCount], [s].[PollPortBlockTimeout], [s].[Poll_RebootModemAfterConnectionLost], [s].[Poll_RebootPortErrorCount], [s].[TimeCorrectionEnabled], [s].[TimeCorrectionThreshold], [s].[Poll_VerifyEcl300Serial], [s].[Poll_VerifyVkt7Serial], [s].[Security_AllowViewProfiler], [s].[Security_BlockAccountOnInvalidPassword], [s].[Security_ElevationEnabled], [s].[MinimumPasswordLength], [s].[Security_PasswordExpirationMonths], [s].[PasswordMustContainLowercaseLetters], [s].[PasswordMustContainNumbers], [s].[PasswordMustContainSpecialChars], [s].[PasswordMustContainUppercaseLetters], [s].[Security_PasswordStorageMonths], [s].[Server_TokenKey], [s].[Server_VapidPrivateKey], [s].[Server_VapidPublicKey], [s].[Sip_ConcurrentCalls], [s].[Sip_FromDomain], [s].[Sip_Login], [s].[Sip_Password], [s].[Sip_ServerAddress], [s].[Sip_SuccessCodesSerialized], [s].[Sip_UseSipForVoiceCalls], [s].[UpdaterDataBaseBackupMode] FROM [SystemParameters] AS [s] ORDER BY [s].[Id] 2025-04-28 19:41:23.1678 E:9 Microsoft.EntityFrameworkCore.Query An exception occurred while iterating over the results of a query for context type 'Lers.Dal.LersDbContext'. Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() ClientConnectionId:4641a8e5-fb9e-4f3c-8662-ee98c4c8d5a2 Error Number:207,State:1,Class:16 1. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:41:23.1678 F:9 Lers.Server.BackgroundServices.StartupBackgroundService Ошибка запуска сервера. 1. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid object name 'UserSession'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, Boolean isInternal, String endMethod) at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult) at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult) at Microsoft.Data.SqlClient.SqlCommand.<>c.b__210_1(IAsyncResult result) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.UserSessionDataAccess.CloseAllAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=208 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid object name 'UserSession'. Class=16 Number=208 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:41:23.1850 E:9 Microsoft.Extensions.Hosting.Internal.Host Hosting failed to start 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(ILogger logger, Exception exception, String message, Object[] args) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1279(Closure, QueryContext) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression) at Lers.Dal.SystemParametersDataAccess.GetSystemParameters() at Lers.Administration.SystemParameters.Load(SystemParametersDataAccess dal) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_0(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_1(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:41:23.1964 F:9 Lers.Server Сервер остановился с ошибкой 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(ILogger logger, Exception exception, String message, Object[] args) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Program.
$(String[] args) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1279(Closure, QueryContext) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression) at Lers.Dal.SystemParametersDataAccess.GetSystemParameters() at Lers.Administration.SystemParameters.Load(SystemParametersDataAccess dal) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_0(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_1(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:42:33.4416 E:1 Lers.Server ============================================ 2025-04-28 19:42:33.4416 E:1 Lers.Server === Сервер запущен 2025-04-28 19:42:33.4416 E:1 Lers.Server ============================================ 2025-04-28 19:42:34.1614 E:7 Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (24ms) [Parameters=[], CommandType='Text', CommandTimeout='60'] DELETE FROM [u] FROM [UserSession] AS [u] 2025-04-28 19:42:34.7378 E:7 Microsoft.EntityFrameworkCore.Database.Command Failed executing DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='60'] SELECT TOP(1) [s].[Id], [s].[BackupCount], [s].[BackupDirectory], [s].[BackupDatabase_VerifyAfterBackup], [s].[BadValuesThreshold_SystemsBadValuesThresholdsSerialized], [s].[DefaultColdWaterSummerTemp], [s].[DefaultColdWaterWinterTemp], [s].[DefaultMinOutdoorTemp], [s].[DefaultReturnPressure], [s].[DefaultSupplyPressure], [s].[PressureDisplayType], [s].[AccountLogStorageTime], [s].[DatabaseMaintenance_DeleteUnchangedDeviceConfig], [s].[EmailLogStorageTime], [s].[PollLogStorageTime], [s].[StorageTimeDeviceConfig], [s].[StorageTimeDeviceEvent], [s].[StorageTimeGprsSessions], [s].[StorageTimeIncidents], [s].[StorageTimeNodeEquipmentHistory], [s].[StorageTimeNotifications], [s].[StorageTimePowerData], [s].[StorageTimePreparedReports], [s].[SystemLogStorageTime], [s].[UserSessionLogStorageTime], [s].[DatabaseMaintenance_ConsumptionData_Current], [s].[DatabaseMaintenance_ConsumptionData_Day], [s].[DatabaseMaintenance_ConsumptionData_Hour], [s].[DatabaseMaintenance_ConsumptionData_Month], [s].[DatabaseMaintenance_TotalsData_Current], [s].[DatabaseMaintenance_TotalsData_Day], [s].[DatabaseMaintenance_TotalsData_Hour], [s].[DatabaseMaintenance_TotalsData_Month], [s].[DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized], [s].[DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized], [s].[DefaultNodeParameters_ParametersSerialized], [s].[DiagCurrentDataEnabled], [s].[DiagDayDataEnabled], [s].[DiagEnabled], [s].[DiagHourDataEnabled], [s].[Diag_IncidentsLifeTimeSerialized], [s].[GsmModemBaudRate], [s].[GsmModem_GsmModemDeviceName], [s].[GsmModemEnabled], [s].[GsmModemFlowControl], [s].[GsmModemModelId], [s].[GsmModem_RebootModemOnError], [s].[GsmModem_UseObsoleteGprsCall], [s].[Gui_AdminContacts], [s].[Gui_EnableCommunal], [s].[Gui_EnableDataTableUserSetting], [s].[Gui_EnableHolidaySkin], [s].[Gui_LoginLogoFileName], [s].[Gui_LogoFileName], [s].[Gui_SiteDescription], [s].[Gui_SiteTitle], [s].[Gui_Systems], [s].[Gui_UseTerritoryToSearchGeoLocation], [s].[Gui_UserLinkText], [s].[Gui_UserLinkURL], [s].[LogDebugMessages], [s].[Log_SystemLog_DisabledEvents], [s].[AllowSmsNotifications], [s].[MaxPartCountInMultipartSms], [s].[SmtpEnableSsl], [s].[SmtpLogin], [s].[SmtpPassword], [s].[SmtpPort], [s].[SmtpSenderAddress], [s].[SmtpSenderDisplayName], [s].[SmtpServer], [s].[Messaging_TelegramApiKey], [s].[Messaging_Customization_AdmissionDeadlineApproaching], [s].[Messaging_Customization_AdmissionDeadlineOverdue], [s].[Messaging_Customization_EquipmentCalibrationApproaching], [s].[Messaging_Customization_EquipmentCalibrationOverdue], [s].[Messaging_Customization_IncidentUpdate], [s].[Messaging_Customization_NewIncident], [s].[Messaging_Customization_NodeJobAssigned], [s].[Messaging_SmsGate_Enabled], [s].[Messaging_SmsGate_Login], [s].[Messaging_SmsGate_Password], [s].[Messaging_SmsGate_Port], [s].[Messaging_SmsGate_SenderName], [s].[Messaging_SmsGate_Server], [s].[Notification_AdmissionDateNotifyDayCount], [s].[CalibrationNotifyDayCount], [s].[JobDueDateNotifyDayCount], [s].[AllowedNodeFileExtensions], [s].[Other_BaseAddress], [s].[SaveGeneratedReportToDataBase], [s].[Poll_DeleteDataOnAutopoll], [s].[DeviceRequestRetryCount], [s].[Poll_DisablePortErrorCount], [s].[Poll_DontPollSuccessfulDevicesOnRetry], [s].[IgnoreNotAllDataReadError], [s].[IsAutoPollEnabled], [s].[Poll_NoCarrierToReboot], [s].[PollLogLevel], [s].[PollMaxDuration], [s].[PollMaxTimeDiff], [s].[PollPortBlockErrorCount], [s].[PollPortBlockTimeout], [s].[Poll_RebootModemAfterConnectionLost], [s].[Poll_RebootPortErrorCount], [s].[TimeCorrectionEnabled], [s].[TimeCorrectionThreshold], [s].[Poll_VerifyEcl300Serial], [s].[Poll_VerifyVkt7Serial], [s].[Security_AllowViewProfiler], [s].[Security_BlockAccountOnInvalidPassword], [s].[Security_ElevationEnabled], [s].[MinimumPasswordLength], [s].[Security_PasswordExpirationMonths], [s].[PasswordMustContainLowercaseLetters], [s].[PasswordMustContainNumbers], [s].[PasswordMustContainSpecialChars], [s].[PasswordMustContainUppercaseLetters], [s].[Security_PasswordStorageMonths], [s].[Server_TokenKey], [s].[Server_VapidPrivateKey], [s].[Server_VapidPublicKey], [s].[Sip_ConcurrentCalls], [s].[Sip_FromDomain], [s].[Sip_Login], [s].[Sip_Password], [s].[Sip_ServerAddress], [s].[Sip_SuccessCodesSerialized], [s].[Sip_UseSipForVoiceCalls], [s].[UpdaterDataBaseBackupMode] FROM [SystemParameters] AS [s] ORDER BY [s].[Id] 2025-04-28 19:42:34.7513 E:7 Microsoft.EntityFrameworkCore.Query An exception occurred while iterating over the results of a query for context type 'Lers.Dal.LersDbContext'. Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() ClientConnectionId:fcf98e9b-f098-4c92-bab3-6825a4e96102 Error Number:207,State:1,Class:16 1. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:42:34.7579 F:7 Lers.Server.BackgroundServices.StartupBackgroundService Ошибка запуска сервера. 1. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid object name 'UserSession'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, Boolean isInternal, String endMethod) at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult) at Microsoft.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult) at Microsoft.Data.SqlClient.SqlCommand.<>c.b__210_1(IAsyncResult result) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteNonQueryAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.UserSessionDataAccess.CloseAllAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=208 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid object name 'UserSession'. Class=16 Number=208 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:42:34.7579 E:7 Microsoft.Extensions.Hosting.Internal.Host Hosting failed to start 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(ILogger logger, Exception exception, String message, Object[] args) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1279(Closure, QueryContext) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression) at Lers.Dal.SystemParametersDataAccess.GetSystemParameters() at Lers.Administration.SystemParameters.Load(SystemParametersDataAccess dal) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_0(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_1(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:42:34.7742 F:7 Lers.Server Сервер остановился с ошибкой 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(ILogger logger, Exception exception, String message, Object[] args) at Lers.Server.BackgroundServices.StartupBackgroundService.InitializeAsync(CancellationToken cancellationToken) at Lers.Server.BackgroundServices.StartupBackgroundService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.b__15_1(IHostedService service, CancellationToken token) at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Program.
$(String[] args) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Core Microsoft SqlClient Data Provider] Microsoft.Data.SqlClient.SqlException: Invalid column name 'BackupDatabase_VerifyAfterBackup'. Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Invalid column name 'DefaultColdWaterSummerTemp'. Invalid column name 'DefaultColdWaterWinterTemp'. Invalid column name 'DefaultMinOutdoorTemp'. Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Invalid column name 'StorageTimeNodeEquipmentHistory'. Invalid column name 'StorageTimeNotifications'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Invalid column name 'GsmModem_GsmModemDeviceName'. Invalid column name 'GsmModem_RebootModemOnError'. Invalid column name 'GsmModem_UseObsoleteGprsCall'. Invalid column name 'Gui_AdminContacts'. Invalid column name 'Gui_EnableCommunal'. Invalid column name 'Gui_EnableDataTableUserSetting'. Invalid column name 'Gui_EnableHolidaySkin'. Invalid column name 'Gui_LoginLogoFileName'. Invalid column name 'Gui_LogoFileName'. Invalid column name 'Gui_SiteDescription'. Invalid column name 'Gui_SiteTitle'. Invalid column name 'Gui_Systems'. Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Invalid column name 'Gui_UserLinkText'. Invalid column name 'Gui_UserLinkURL'. Invalid column name 'Log_SystemLog_DisabledEvents'. Invalid column name 'Messaging_TelegramApiKey'. Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Invalid column name 'Messaging_Customization_IncidentUpdate'. Invalid column name 'Messaging_Customization_NewIncident'. Invalid column name 'Messaging_Customization_NodeJobAssigned'. Invalid column name 'Messaging_SmsGate_Enabled'. Invalid column name 'Messaging_SmsGate_Login'. Invalid column name 'Messaging_SmsGate_Password'. Invalid column name 'Messaging_SmsGate_Port'. Invalid column name 'Messaging_SmsGate_SenderName'. Invalid column name 'Messaging_SmsGate_Server'. Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Invalid column name 'Other_BaseAddress'. Invalid column name 'Poll_DeleteDataOnAutopoll'. Invalid column name 'Poll_DisablePortErrorCount'. Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Invalid column name 'Poll_NoCarrierToReboot'. Invalid column name 'Poll_RebootModemAfterConnectionLost'. Invalid column name 'Poll_RebootPortErrorCount'. Invalid column name 'Poll_VerifyEcl300Serial'. Invalid column name 'Poll_VerifyVkt7Serial'. Invalid column name 'Security_AllowViewProfiler'. Invalid column name 'Security_BlockAccountOnInvalidPassword'. Invalid column name 'Security_ElevationEnabled'. Invalid column name 'Security_PasswordExpirationMonths'. Invalid column name 'Security_PasswordStorageMonths'. Invalid column name 'Server_TokenKey'. Invalid column name 'Server_VapidPrivateKey'. Invalid column name 'Server_VapidPublicKey'. Invalid column name 'Sip_ConcurrentCalls'. Invalid column name 'Sip_FromDomain'. Invalid column name 'Sip_Login'. Invalid column name 'Sip_Password'. Invalid column name 'Sip_ServerAddress'. Invalid column name 'Sip_SuccessCodesSerialized'. Invalid column name 'Sip_UseSipForVoiceCalls'. Стек вызовов: at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.b__21_0(DbContext _, Enumerator enumerator) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass28_0`2.b__0(DbContext context, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementation[TState,TResult](Func`3 operation, Func`3 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found) at lambda_method1279(Closure, QueryContext) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query) at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression) at Lers.Dal.SystemParametersDataAccess.GetSystemParameters() at Lers.Administration.SystemParameters.Load(SystemParametersDataAccess dal) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_0(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(ServiceIdentifier serviceIdentifier) at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.DependencyInjection.Extensions.ConfigureAdministrationDependencyInjection.<>c.b__0_1(IServiceProvider s) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(ServiceIdentifier serviceIdentifier, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType) at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider) at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232060 Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=14.00.1000 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=https://go.microsoft.com/fwlink HelpLink.LinkId=20476 Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'BackupDatabase_VerifyAfterBackup'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'BadValuesThreshold_SystemsBadValuesThresholdsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterSummerTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultColdWaterWinterTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMinOutdoorTemp'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_DeleteUnchangedDeviceConfig'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNodeEquipmentHistory'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'StorageTimeNotifications'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_ConsumptionData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Current'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Day'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Hour'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DatabaseMaintenance_TotalsData_Month'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultDisplayUnits_SupplySystemsDefaultDisplayUnitsSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultMeasurePointParameters_SupplySystemsDefaultMeasurePointParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'DefaultNodeParameters_ParametersSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Diag_IncidentsLifeTimeSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_GsmModemDeviceName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_RebootModemOnError'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'GsmModem_UseObsoleteGprsCall'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_AdminContacts'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableCommunal'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableDataTableUserSetting'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_EnableHolidaySkin'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LoginLogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_LogoFileName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteDescription'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_SiteTitle'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_Systems'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UseTerritoryToSearchGeoLocation'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkText'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Gui_UserLinkURL'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Log_SystemLog_DisabledEvents'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_TelegramApiKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_AdmissionDeadlineOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationApproaching'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_EquipmentCalibrationOverdue'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_IncidentUpdate'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NewIncident'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_Customization_NodeJobAssigned'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Enabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Port'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_SenderName'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Messaging_SmsGate_Server'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Notification_AdmissionDateNotifyDayCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Other_BaseAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DeleteDataOnAutopoll'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DisablePortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_DontPollSuccessfulDevicesOnRetry'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_NoCarrierToReboot'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootModemAfterConnectionLost'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_RebootPortErrorCount'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyEcl300Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Poll_VerifyVkt7Serial'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_AllowViewProfiler'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_BlockAccountOnInvalidPassword'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_ElevationEnabled'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordExpirationMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Security_PasswordStorageMonths'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_TokenKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPrivateKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Server_VapidPublicKey'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ConcurrentCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_FromDomain'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Login'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_Password'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_ServerAddress'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_SuccessCodesSerialized'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider Message=Invalid column name 'Sip_UseSipForVoiceCalls'. Class=16 Number=207 State=1 Server=(local)\LERS Procedure= LineNumber=1 Source=Core Microsoft SqlClient Data Provider -------------------------------------------------------------------------------------- 2025-04-28 19:46:18.8993 E:1 Lers.Server ============================================ 2025-04-28 19:46:18.8993 E:1 Lers.Server === Сервер запущен 2025-04-28 19:46:18.8993 E:1 Lers.Server ============================================ 2025-04-28 19:46:30.1919 E:18 Microsoft.Extensions.Hosting.Internal.Host BackgroundService failed 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:46:30.2984 F:18 Microsoft.Extensions.Hosting.Internal.Host The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:46:30.5689 E:18 Lers.Tasks.CheckForUpdatesTask Автоматическая проверка обновлений: Не удалось выполнить проверку. 1. [Lers.Administration] Lers.UpdateService.Control.UpdateServiceClientException: Вышел таймаут на проверку обновлений. Подробности смотрите в журнале работы службы обновления ЛЭРС УЧЕТ. Стек вызовов: at Lers.Administration.UpdateServiceClient.CheckForUpdates(CancellationToken cancellationToken) at Lers.Tasks.CheckForUpdatesTask.RunAsync(CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2025-04-28 19:47:32.5562 E:1 Lers.Server ============================================ 2025-04-28 19:47:32.5562 E:1 Lers.Server === Сервер запущен 2025-04-28 19:47:32.5562 E:1 Lers.Server ============================================ 2025-04-28 19:47:36.1173 E:15 Microsoft.Extensions.Hosting.Internal.Host BackgroundService failed 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:47:36.2850 F:15 Microsoft.Extensions.Hosting.Internal.Host The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:49:38.3631 E:1 Lers.Server ============================================ 2025-04-28 19:49:38.3631 E:1 Lers.Server === Сервер запущен 2025-04-28 19:49:38.3631 E:1 Lers.Server ============================================ 2025-04-28 19:49:43.3981 E:20 Microsoft.Extensions.Hosting.Internal.Host BackgroundService failed 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:49:43.5614 F:20 Microsoft.Extensions.Hosting.Internal.Host The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:49:44.0288 E:19 Lers.Tasks.Runner.TaskRunner Ошибка при обработке задания 'Водоснабжение'. Cannot access a disposed object. Object name: 'IServiceProvider'. 2025-04-28 19:49:44.0288 E:7 Lers.Tasks.Runner.TaskRunner Ошибка при обработке задания 'Диагностика связи'. Cannot access a disposed object. Object name: 'IServiceProvider'. 2025-04-28 19:49:44.0288 F:19 Lers.Server.BackgroundServices.TaskRunnerBackgroundService Критическая ошибка обработки задания Водоснабжение 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, String message, Object[] args) at Lers.MicrosoftLoggerExtensions.SystemError(ILogger logger, String formatString, Object[] args) at Lers.Tasks.Runner.TaskRunner.RunTask(ServerTask task, Boolean throwException, CancellationToken stoppingToken) at Lers.Server.BackgroundServices.TaskRunnerBackgroundService.RunTask(ServerTask task, CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Microsoft.Extensions.DependencyInjection] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'IServiceProvider'. Стек вызовов: at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException() at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateScope() at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:49:44.0288 F:7 Lers.Server.BackgroundServices.TaskRunnerBackgroundService Критическая ошибка обработки задания Диагностика связи 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, String message, Object[] args) at Lers.MicrosoftLoggerExtensions.SystemError(ILogger logger, String formatString, Object[] args) at Lers.Tasks.Runner.TaskRunner.RunTask(ServerTask task, Boolean throwException, CancellationToken stoppingToken) at Lers.Server.BackgroundServices.TaskRunnerBackgroundService.RunTask(ServerTask task, CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Microsoft.Extensions.DependencyInjection] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'IServiceProvider'. Стек вызовов: at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException() at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateScope() at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:49:44.0377 E:19 Lers.Tasks.DatabaseMaintenanceTask Ошибка выполнения ежедневного обслуживания базы данных. Ошибка при удалении сеансов опроса. 1. [Microsoft.Extensions.Logging] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'LoggerFactory'. Стек вызовов: at Microsoft.Extensions.Logging.LoggerFactory.CreateLogger(String categoryName) at Microsoft.Extensions.Logging.Logger`1..ctor(ILoggerFactory factory) at Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger[T](ILoggerFactory factory) at Lers.Dal.LersDbContext.CreateQuery(String query, SqlQueryType type, Nullable`1 commandTimeout) at Lers.Dal.DbContextExtensions.CreateSqlQuery(LersDbContext context, String query, SqlQueryType queryType) at Lers.Dal.DbContextExtensions.CreateSqlQueryText(LersDbContext context, String query) at Lers.Dal.SystemDataAccess.TrimData(String tableName, String dateTimeColumnName, DateTime minDateTime, Int32 rowsToDelete) at Lers.Dal.SystemDataAccess.CyclicTrimData(String tableName, String dateTimeColumnName, DateTime minDateTime, Int32 rowsToDelete) at Lers.Tasks.DatabaseMaintenanceTask.<>c__DisplayClass15_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Lers.Tasks.DatabaseMaintenanceTask.PerformWithErrorHandling(Func`1 action, String actionName) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:49:44.0377 E:19 Lers.Tasks.Runner.TaskRunner Ошибка при обработке задания 'Очистка БД'. An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Cannot access a disposed object. Object name: 'IServiceProvider'. 2025-04-28 19:49:44.0377 F:19 Lers.Server.BackgroundServices.TaskRunnerBackgroundService Критическая ошибка обработки задания Очистка БД 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, String message, Object[] args) at Lers.MicrosoftLoggerExtensions.SystemError(ILogger logger, String formatString, Object[] args) at Lers.Tasks.Runner.TaskRunner.RunTask(ServerTask task, Boolean throwException, CancellationToken stoppingToken) at Lers.Server.BackgroundServices.TaskRunnerBackgroundService.RunTask(ServerTask task, CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Microsoft.Extensions.DependencyInjection] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'IServiceProvider'. Стек вызовов: at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException() at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateScope() at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:50:12.3341 E:1 Lers.Server ============================================ 2025-04-28 19:50:12.3346 E:1 Lers.Server === Сервер запущен 2025-04-28 19:50:12.3346 E:1 Lers.Server ============================================ 2025-04-28 19:50:15.8909 E:7 Microsoft.Extensions.Hosting.Internal.Host BackgroundService failed 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:50:16.0697 F:7 Microsoft.Extensions.Hosting.Internal.Host The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted. 1. [Microsoft.EntityFrameworkCore.Relational] System.InvalidOperationException: The connection is already in a transaction and cannot participate in another transaction. Стек вызовов: at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.EnsureNoTransactions() at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionAsync(CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Dal.ReportTemplateDataAccess.SetFixedNodeReportAsync(EntityIdentifier reportTemplateId, Int32[] idList) at Lers.Reporting.ReportTemplateManager.UpdateAsync(ReportTemplate reportTemplate, Boolean renameOnly) at Lers.Infrastructure.Migrations.UpdateFixedNodeReportTemplate.UpAsync(CancellationToken cancelToken) at Lers.Infrastructure.Migrations.MigrationManager.<>c__DisplayClass5_1.<b__2>d.MoveNext() --- End of stack trace from previous location --- at Lers.Dal.DbContextExtensions.<>c__DisplayClass5_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.<>c.<b__3_0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.<>c__DisplayClass30_0`2.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteImplementationAsync[TState,TResult](Func`4 operation, Func`4 verifySucceeded, TState state, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken) at Lers.Dal.DbContextExtensions.RunInTransactionAsync(LersDbContext context, Func`1 action) at Lers.Infrastructure.Migrations.MigrationManager.UpAsync(CancellationToken cancellationToken) at Lers.ServerInfrastructure.ServerInitializer.PerformAsync(CancellationToken stoppingToken) at Lers.Server.BackgroundServices.StartupBackgroundService.ExecuteAsync(CancellationToken stoppingToken) at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService) HResult:-2146233079 -------------------------------------------------------------------------------------- 2025-04-28 19:50:16.5339 E:10 Lers.Tasks.Runner.TaskRunner Ошибка при обработке задания 'Диагностика связи'. Cannot access a disposed object. Object name: 'IServiceProvider'. 2025-04-28 19:50:16.5339 F:10 Lers.Server.BackgroundServices.TaskRunnerBackgroundService Критическая ошибка обработки задания Диагностика связи 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, String message, Object[] args) at Lers.MicrosoftLoggerExtensions.SystemError(ILogger logger, String formatString, Object[] args) at Lers.Tasks.Runner.TaskRunner.RunTask(ServerTask task, Boolean throwException, CancellationToken stoppingToken) at Lers.Server.BackgroundServices.TaskRunnerBackgroundService.RunTask(ServerTask task, CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Microsoft.Extensions.DependencyInjection] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'IServiceProvider'. Стек вызовов: at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException() at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateScope() at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:50:16.5382 E:10 Lers.Tasks.DatabaseMaintenanceTask Ошибка выполнения ежедневного обслуживания базы данных. Ошибка при удалении сеансов опроса. 1. [Microsoft.Extensions.Logging] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'LoggerFactory'. Стек вызовов: at Microsoft.Extensions.Logging.LoggerFactory.CreateLogger(String categoryName) at Microsoft.Extensions.Logging.Logger`1..ctor(ILoggerFactory factory) at Microsoft.Extensions.Logging.LoggerFactoryExtensions.CreateLogger[T](ILoggerFactory factory) at Lers.Dal.LersDbContext.CreateQuery(String query, SqlQueryType type, Nullable`1 commandTimeout) at Lers.Dal.DbContextExtensions.CreateSqlQuery(LersDbContext context, String query, SqlQueryType queryType) at Lers.Dal.DbContextExtensions.CreateSqlQueryText(LersDbContext context, String query) at Lers.Dal.SystemDataAccess.TrimData(String tableName, String dateTimeColumnName, DateTime minDateTime, Int32 rowsToDelete) at Lers.Dal.SystemDataAccess.CyclicTrimData(String tableName, String dateTimeColumnName, DateTime minDateTime, Int32 rowsToDelete) at Lers.Tasks.DatabaseMaintenanceTask.<>c__DisplayClass15_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at Lers.Tasks.DatabaseMaintenanceTask.PerformWithErrorHandling(Func`1 action, String actionName) HResult:-2146232798 -------------------------------------------------------------------------------------- 2025-04-28 19:50:16.5382 E:10 Lers.Tasks.Runner.TaskRunner Ошибка при обработке задания 'Очистка БД'. An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Cannot access a disposed object. Object name: 'IServiceProvider'. 2025-04-28 19:50:16.5382 F:10 Lers.Server.BackgroundServices.TaskRunnerBackgroundService Критическая ошибка обработки задания Очистка БД 1. [Microsoft.Extensions.Logging] System.AggregateException: An error occurred while writing to logger(s). (Cannot access a disposed object. Object name: 'IServiceProvider'.) Стек вызовов: at Microsoft.Extensions.Logging.Logger.ThrowLoggingError(List`1 exceptions) at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args) at Microsoft.Extensions.Logging.LoggerExtensions.LogError(ILogger logger, String message, Object[] args) at Lers.MicrosoftLoggerExtensions.SystemError(ILogger logger, String formatString, Object[] args) at Lers.Tasks.Runner.TaskRunner.RunTask(ServerTask task, Boolean throwException, CancellationToken stoppingToken) at Lers.Server.BackgroundServices.TaskRunnerBackgroundService.RunTask(ServerTask task, CancellationToken cancellationToken) HResult:-2146233088 -------------------------------------------------------------------------------------- 2. [Microsoft.Extensions.DependencyInjection] System.ObjectDisposedException: Cannot access a disposed object. Object name: 'IServiceProvider'. Стек вызовов: at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException() at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateScope() at Lers.Server.Infrastructure.Logging.SystemAndAccountLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) at Microsoft.Extensions.Logging.Logger.g__LoggerLog|14_0[TState](LogLevel logLevel, EventId eventId, ILogger logger, Exception exception, Func`3 formatter, List`1& exceptions, TState& state) HResult:-2146232798 --------------------------------------------------------------------------------------