Yes it would appear that the file is open read only. I cannot open the file in any other program to attempt to change the contents or truncate it. It appears that the file is locked, but when using Unlocker to try to unlock it, it states that there is no locking handle on the file. Try to delete the file through unlocker, explorer or DOS and it will fail saying "It is being used by another process". I shutdown my pc and still get the same error. Spookily after a random amount of time the file will delete itself automatically. The only way to force its removal from the network is for me to ask a member of admin to do it for me.
I cannot be sure it is Windows Desktop Search that causes this. But it is the most likely candidate. The file is locked by one of two members of staff here, both of which run Windows Desktop Search. Noone else uses it and noone else has ever been found guilty of having the file open by admin. However I have tested this on a PC running Vista (with the db on a local file system however), Vista has file indexing built in as standard. The test program ran all weekend without exhibiting this same problem on Vista. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 09 March 2007 16:36 > To: sqlite-users@sqlite.org > Subject: Re: [sqlite] journal - "Unable to open the database file" > > > "Allan, Mark" <[EMAIL PROTECTED]> wrote: > > 3) Ask if anyone can offer any advise us as to what we can do > > to get around the problem of a journal file being locked and > > SQLite cannot delete it? Because at the moment if this situation > > occurs no one can write to that Db until the journal file has > > gone. Which is quite a severe problem... > > > > While Windows Desktop Search has the journal file open, is the > journal file read only? Is it possible to change the content > of the file or even truncate the file to zero length as long as > the file is not deleted? > > -- > D. Richard Hipp <[EMAIL PROTECTED]> > > > -------------------------------------------------------------- > --------------- > To unsubscribe, send email to [EMAIL PROTECTED] > -------------------------------------------------------------- > --------------- > > > DISCLAIMER: This information and any attachments contained in this email message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, forwarding, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email, and delete the original message immediately. ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------