in

System.Data.SQLite

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

AccessViolationException raised on ATTACH - DETACH

Last post 01-17-2010 8:11 AM by FrenkR. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-28-2009 5:36 PM

    • FrenkR
    • Not Ranked
    • Joined on 11-17-2009
    • Posts 3

    AccessViolationException raised on ATTACH - DETACH

     Error: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

    .NET 3.5/VS 2008,  SQLite 1.0.65.0

     


    Steps to reproduce:

    1.) connect to sqlite, main db is ":memory:"

    2.) periodically attach/detach database of size 5.6MB.

    after 3 -5 try, accessviolationexception is raised.

    Rgds,

    Frenk
  • 01-17-2010 8:11 AM In reply to

    • FrenkR
    • Not Ranked
    • Joined on 11-17-2009
    • Posts 3

    Re: AccessViolationException raised on ATTACH - DETACH

     After extensive testing on *win* platform using latest dll, I found out that this was a problem of inproper use of a grid component (Resco).So, SqLite works like a charm :)

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems