in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Crash in System.Data.Sqlite only when keeping the app running for a long time (for e.g. overnight)

Last post 08-30-2010 11:59 AM by drawal. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-30-2010 11:59 AM

    • drawal
    • Not Ranked
    • Joined on 08-30-2010
    • Posts 1

    Crash in System.Data.Sqlite only when keeping the app running for a long time (for e.g. overnight)

    We are using System.Data.Sqlite with a .Net 3.5 windows application built using VS2010. The data layer uses the .Net entity framework and linq in conjunction with System.Data.Sqlite

    Below is the call stack. I am hoping some one on this forum has run into this issue and can give me some pointers on fixes or workarounds.

    ----------------------------

    --- Assembly --- Full Name: System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139 Location: C:\Program Files\Hewlett-Packard\HP Connection Manager\System.Data.SQLite.dll Version: 1.0.66.0 File Version: 1.0.66.0 Creation Date: Thursday, June 24, 2010 3:21:04 AM Last Modified Date: Thursday, June 24, 2010 3:21:04 AM

    --- Error message ---

    Object reference not set to an instance of an object.

    --- Stack trace ---

    at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain) at System.Data.SQLite.SQLiteCommand.BuildNextCommand() at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() at System.Data.SQLite.SQLiteConnection.Open() at System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) at System.Data.EntityClient.EntityConnection.Open() at System.Data.Objects.ObjectContext.EnsureConnection() at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source) at System.Data.Objects.ELinq.ObjectQueryProvider.b__2[TResult](IEnumerable`1 sequence) at System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot) at System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[S](Expression expression) at System.Linq.Queryable.Count[TSource](IQueryable`1 source)
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems