Jump to content

Ramesh

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Ramesh

  1. On 1/26/2018 at 1:10 AM, drjdpowell said:

    I notice that you reopen the DB file on each query.   If you instead opened the file once on initialization, then you'll be less affected by an intermittent file access problem.

    The issue might be anti-virus software, or some other software that trolls through files for some reason, temporarily locking them.   Has any such software been added?  

    Yes, definitely i will modify the code for to open the file at initialization.

    I have not added any such software which could lock the file. I am using ESET NOD32 antivirus software and is running from past 3 years. I am not getting any error while writing the same file and i am using same file from past 3 months to store the database records. The example codes provided with sqlite toolkit also runs without any error.

    I am getting errors while opening the file only. To try the locking possibility, i created several files with the same name. The labview code (as given in previous attachment) worked sucessfully on first 2-3 attempts and later started reporting the same error. am i missing something to add in the code? or can you please check the database file, wheather it is locked. Please refer the attachment for database file as well as my previous attachments) 

    SQLite error.zip

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.