2016-09-29 11:01:54.602 D:2088 Клиенту 80.73.75.102 Сессия 76248 отправлено уведомление о событии 20298 2016-09-29 11:01:54.602 D:2088 CS:76242 Считан уровень заряда батареи ВТЭ-1П 141М, #6066. Текущий заряд: 3,89, минимальный: 3,1, батарея: в норме. 2016-09-29 11:01:54.602 D:2088 CS:76242 Выполняем запрос: sp_GetEquipmentById @Id=4713 Lers.SqlQuery 2016-09-29 11:01:54.617 D:2088 CS:76242 SQL-запрос выполнен. Lers.SqlQuery 2016-09-29 11:01:54.617 D:2088 CS:76242 Выполняем запрос: sp_UpdDeviceBatteryLevel @EquipmentId=4713, @BatteryLevel=3,89 Lers.SqlQuery 2016-09-29 11:01:54.617 W:2088 CS:76242 Закрыто подключение к БД (SQL-сервер: NAVCENTER, БД: LERS). Lers.WorkerThreadContext 2016-09-29 11:01:54.617 C:2088 CS:76242 Ошибка выполнения операции #20330 (RAISE_POLL_EVENT) для сеанса работы #76242. 1. [.Net SqlClient Data Provider] System.Data.SqlClient.SqlException: Invalid column name 'Complex_ID'. Стек вызовов: в System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) в System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) в System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) в System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) в System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) в System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) в System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) в System.Data.SqlClient.SqlCommand.ExecuteNonQuery() в Lers.SqlQuery.ExecuteWithErrorHandling(ExecutionResultType resultType) в Lers.SqlQuery.ExecuteNonQuery() в Lers.Core.EquipmentDataAccess.UpdateBatteryLevel(Int32 equipmentId, Single batteryLevel) в Lers.Core.Equipment.UpdateBatteryLevel(Single batteryLevel) в Lers.Lab.EquipmentControl.DeviceInfoSaver.Events_BatteryLevelRead(Object sender, BatteryLevelEventArgs args) в Lers.Lab.PollEvents.RaiseEvent(PollEventArgs args) в Lers.RequestProcessor.ProcessRequest(ISession session, Int32 operation, Int32 requestId, PropertyBag requestData) Дополнительная информация (Data): HelpLink.ProdName=Microsoft SQL Server HelpLink.ProdVer=11.00.3128 HelpLink.EvtSrc=MSSQLServer HelpLink.EvtID=207 HelpLink.BaseHelpUrl=http://go.microsoft.com/fwlink HelpLink.LinkId=20476 Query=sp_UpdDeviceBatteryLevel @EquipmentId=4713, @BatteryLevel=3,89 IsProcessingCanceled=False Дополнительная информация из ExternalException: HRESULT=0x80131904 Дополнительная информация из SqlException: Message=Invalid column name 'Complex_ID'. Class=16 Number=207 State=1 Server=NAVCENTER Procedure=sp_UpdDeviceBatteryLevel LineNumber=13 Source=.Net SqlClient Data Provider -------------------------------------------------------------------------------------- Параметры запроса: Params=0030460000000000090000000100038CC3F578400200038C66664640030003860400038EF1CF2800050003AEE924060003AE97020700030800090003D8CC02DF35B7360A50020018070B1F4C6572732E506F6C6C2E426174746572794C6576656C457665... Lers.ExceptionHandler 2016-09-29 11:01:54.617 C:2088 CS:76242 Ошибка выполнения запроса "Событие от службы опроса". Invalid column name 'Complex_ID'. (Имя входа: PollHost) Lers.SystemLog 2016-09-29 11:01:54.617 D:2088 CS:76242 Выполняем запрос: sp_InsSystemLog @DateTime='2016-09-29T11:01:54.617', @Importance=16, @Message='Ошибка выполнения запроса "Событие от службы опроса". Invalid column name 'Complex_ID'. (Имя входа: PollHost)' Lers.SqlQuery