0
Fixed

Ошибка в сканере

Stepan 6 years ago • updated 6 years ago 2

Во время работы сканера вылезла такая вот ошибка:

BLToolkit.Data.DataException: Dynamic SQL Error
SQL error code = -901
invalid transaction handle (expecting explicit transaction start) ---> FirebirdSql.Data.FirebirdClient.FbException: Dynamic SQL Error
SQL error code = -901
invalid transaction handle (expecting explicit transaction start) ---> FirebirdSql.Data.Common.IscException: Выдано исключение типа "FirebirdSql.Data.Common.IscException".
в FirebirdSql.Data.Client.Embedded.FesDatabase.ParseStatusVector(Int32[] statusVector)
в FirebirdSql.Data.Client.Embedded.FesStatement.Execute()
в FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteCommand(CommandBehavior behavior, Boolean returnsSet)
в FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior)
--- Конец трассировки внутреннего стека исключений ---
в FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteReader(CommandBehavior behavior)
в FirebirdSql.Data.FirebirdClient.FbCommand.ExecuteDbDataReader(CommandBehavior behavior)
в System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
в BLToolkit.Data.DbManager.<>c__DisplayClass16.<ExecuteReaderInternal>b__15()
в BLToolkit.Data.DbManager.ExecuteOperation[T](OperationType operationType, Func`1 operation)
--- Конец трассировки внутреннего стека исключений ---
в BLToolkit.Data.DbManager.OnOperationException(OperationType op, DataException ex)
в BLToolkit.Data.DbManager.HandleOperationException(OperationType op, Exception ex)
в BLToolkit.Data.DbManager.ExecuteOperation[T](OperationType operationType, Func`1 operation)
в BLToolkit.Data.DbManager.ExecuteReaderInternal(CommandBehavior commandBehavior)
в BLToolkit.Data.DbManager.BLToolkit.Data.Linq.IDataContext.ExecuteReader(Object query)
в BLToolkit.Data.Linq.Query`1.<RunQuery>d__11.MoveNext()
в BLToolkit.Data.Linq.Query`1.<Map>d__60.MoveNext()
в System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
в BLToolkit.Data.Linq.Builder.FirstSingleBuilder.FirstSingleContext.<>c__DisplayClass8`1.<BuildQuery>b__0(QueryContext ctx, IDataContextInfo db, Expression expr, Object[] ps)
в BLToolkit.Data.Linq.ExpressionQuery`1.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
в System.Linq.Queryable.First[TSource](IQueryable`1 source)
в   .IsBookExists(BookInfo )
в   .OnCanExecute(Object )
в Fb2Library.Commands.LibraryCommand.OnCanExecute(Object sender, CanExecuteRoutedEventArgs e)
в System.Windows.Input.CommandBinding.OnCanExecute(Object sender, CanExecuteRoutedEventArgs e)
в System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
в System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
в System.Windows.Input.CommandManager.OnCanExecute(Object sender, CanExecuteRoutedEventArgs e)
в System.Windows.UIElement.OnCanExecuteThunk(Object sender, CanExecuteRoutedEventArgs e)
в System.Windows.Input.CanExecuteRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
в System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
в System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
в System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
в System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
в System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
в System.Windows.Input.RoutedCommand.CriticalCanExecuteWrapper(Object parameter, IInputElement target, Boolean trusted, CanExecuteRoutedEventArgs args)
в System.Windows.Input.RoutedCommand.CanExecuteImpl(Object parameter, IInputElement target, Boolean trusted, Boolean& continueRouting)
в System.Windows.Input.RoutedCommand.CriticalCanExecute(Object parameter, IInputElement target, Boolean trusted, Boolean& continueRouting)
в MS.Internal.Commands.CommandHelpers.CanExecuteCommandSource(ICommandSource commandSource)
в System.Windows.Controls.MenuItem.UpdateCanExecute()
в System.Windows.Controls.MenuItem.OnCanExecuteChanged(Object sender, EventArgs e)
в System.Windows.Input.CommandManager.CallWeakReferenceHandlers(List`1 handlers)
в System.Windows.Input.CommandManager.RaiseRequerySuggested(Object obj)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Формат хранения какой? База данных?

База данных