Re: [sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread Simon Slavin
On 18 Aug 2016, at 6:24pm, Matias Badin wrote: > Thanks you very much! The information was very usefull. > I can recover the database info now, overwritting the header array. Once you have the header array 'correct' and SQLite no longer refuses to open the database, use

Re: [sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread Adam Devita
You are welcome.I was worried about the infinite loop I wrote. ;) Hopefully you can track down the reason, I don't know anything about your file but what you tell us. There are some things that you can do to help track it down. You didn't mention what version of sqlite you were using,

Re: [sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread Matias Badin
Thanks you very much! The information was very usefull. I can recover the database info now, overwritting the header array. Have you any information about how the header is corrupted? I would like to know the reason to resolve it. Thanks again! 2016-08-18 10:14 GMT-03:00 Adam Devita

Re: [sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread David Raymond
1) One could download a hex editor and review the beginning of the file and compare to https://www.sqlite.org/fileformat2.html . If some other program has over-written the header, you should be able to observe that, hopefully identifying a program with a problem. 2) Back up you hard drive. Run

Re: [sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread Adam Devita
Good day, A few things that you can try 1) One could download a hex editor and review the beginning of the file and compare to https://www.sqlite.org/fileformat2.html . If some other program has over-written the header, you should be able to observe that, hopefully identifying a program with a

[sqlite] Error File is Encrypted or is not a database

2016-08-18 Thread Matias Badin
Hi Everyone; I have a problem with a sqlite database that was working very good but suddenly started to give the message "File is encrypted or is not a database". Then I can´t access it and i have to replace it with a new one. Can anyone help me with this problem? I don´t know how to re-open the

[sqlite] Error: "File is encrypted or is not a database"

2014-02-11 Thread Iksanov Husain
- We encrypted our database with common System.Data.SQLite method - public void ChangePassword(string newPassword) - in SQLiteConnection .NET class. - No, there were no changes in the system. - We tried SQLite shell tool. Does it open an encrypted database? Honestly, we found no info about it.

Re: [sqlite] Error: "File is encrypted or is not a database"

2014-02-07 Thread Simon Slavin
On 7 Feb 2014, at 10:49am, Iksanov Husain wrote: > We have an encrypted SQLite database with a password which is set > programmatically in .NET interface. Can you tell us which encryption system you used to encrypt your database ? Did you change anything in the last day or

[sqlite] Error: "File is encrypted or is not a database"

2014-02-07 Thread Iksanov Husain
Hi! We have an encrypted SQLite database with a password which is set programmatically in .NET interface. This base has been used by our application for a long time and everything has been OK till today. On opening base this error occurs: "File is encrypted or is not a database". Noone could

[sqlite] Error: "File is encrypted or is not a database"

2014-02-07 Thread Xusain Iksanov
Hi! We have an encrypted SQLite database with a password which is set programmatically in .NET interface. This base has been used by our application for a long time and everything has been OK till today. On opening base this error occurs: "File is encrypted or is not a database". Noone could

Re: [sqlite] sqlite error: file is encrypted or is not a database

2012-09-03 Thread Richard Hipp
On Mon, Sep 3, 2012 at 5:43 PM, Tal Tabakman wrote: > Hi, > my SQLite based app is writing an database(single thread, no concurrency, > on top of NFS , network is involved) > when opening the database for read we get the following error "file is > encrypted or is not a

[sqlite] sqlite error: file is encrypted or is not a database

2012-09-03 Thread Tal Tabakman
Hi, my SQLite based app is writing an database(single thread, no concurrency, on top of NFS , network is involved) when opening the database for read we get the following error "file is encrypted or is not a database" when executing a simple pragma: "PRAGMA cache_size=1;" I would like to note

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Dmitri Priimak
Schrum, Allan wrote: >> -Original Message- >> From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- >> boun...@sqlite.org] On Behalf Of Dmitri Priimak >> Sent: Wednesday, November 25, 2009 11:39 AM >> To: General Discussion of SQLite Database >&g

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Schrum, Allan
> -Original Message- > From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users- > boun...@sqlite.org] On Behalf Of Dmitri Priimak > Sent: Wednesday, November 25, 2009 11:39 AM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Error:

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Dmitri Priimak
Simon Slavin wrote: > On 25 Nov 2009, at 6:19pm, Dmitri Priimak wrote: > > >> Simon Slavin wrote: >> >>> On 25 Nov 2009, at 6:09pm, Dmitri Priimak wrote: >>> >>> 000 6166 6c69 6465 7420 206f 706f 6e65 6420 010 7461 6261 7361 2065 7274 6e61 6173 7463 020

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Simon Slavin
On 25 Nov 2009, at 6:19pm, Dmitri Priimak wrote: > Simon Slavin wrote: >> On 25 Nov 2009, at 6:09pm, Dmitri Priimak wrote: >> >>> 000 6166 6c69 6465 7420 206f 706f 6e65 6420 >>> 010 7461 6261 7361 2065 7274 6e61 6173 7463 >>> 020 6f69 206e 3632 3a20 6620 6c69 2065 7369 >>> 030

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Dmitri Priimak
Simon Slavin wrote: > On 25 Nov 2009, at 6:09pm, Dmitri Priimak wrote: > > >> 000 6166 6c69 6465 7420 206f 706f 6e65 6420 >> 010 7461 6261 7361 2065 7274 6e61 6173 7463 >> 020 6f69 206e 3632 3a20 6620 6c69 2065 7369 >> 030 6520 636e 7972 7470 6465 6f20 2072 7369 >> 040 6e20

Re: [sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Simon Slavin
On 25 Nov 2009, at 6:09pm, Dmitri Priimak wrote: > 000 6166 6c69 6465 7420 206f 706f 6e65 6420 > 010 7461 6261 7361 2065 7274 6e61 6173 7463 > 020 6f69 206e 3632 3a20 6620 6c69 2065 7369 > 030 6520 636e 7972 7470 6465 6f20 2072 7369 > 040 6e20 746f 6120 6420 7461 6261 7361

[sqlite] Error: file is encrypted or is not a database

2009-11-25 Thread Dmitri Priimak
Hi. I noticed strange problem with some of my sqlite databases. It does not affect all of them. I have a db file, which I modify from the crontab using sqlite3 cli. Every once in a while, file goes bad. In the sense that when I connect to it using sqlite3 cli and do any select I get error

Re: [sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Gerald Dachs
On Tue, 12 Sep 2006 14:29:12 -0400 <[EMAIL PROTECTED]> wrote: > files on your computer and this database file accidently got snagged?> > > Thanks, but this application resides on a PDA and my customer is > reporting this issue on several PDA's. No search/replace operations are > being performed

Re: [sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Dennis Jenkins
Will Leshner wrote: Ah. Ok. It was just a shot in the dark. I've never seen SQLite itself change its header like that, so I suspect the culprit lies elsewhere. Most likely, the following is not the cause of your problem, but it's funny: There was once a virus that did a search and replace

Re: RE: [sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Will Leshner
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks, but this application resides on a PDA and my customer is reporting this issue on several PDA's. No search/replace operations are being performed at a file level on these devices. Ah. Ok. It was just a shot in the dark. I've

RE: [sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Richard.Murphy
12, 2006 1:26 PM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Error: file is encrypted or is not a database On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What in the world could have caused this?? Is it possible that you did some kind of global search and replace on file

Re: [sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Will Leshner
On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What in the world could have caused this?? Is it possible that you did some kind of global search and replace on files on your computer and this database file accidently got snagged?

[sqlite] Error: file is encrypted or is not a database

2006-09-12 Thread Richard.Murphy
SQLite Version: 2.8.17 (not 3) I have a database that when I try to open it, either with the 'C' libraries or with the sqlite.exe command-line utility, gives me the error "file is encrypted or is not a database". I opened the data file in a hex editor and noticed that the 48 byte header string

Re: [sqlite] Error: file is encrypted or is not a database

2005-07-17 Thread Karl Sinn
Hi Gerard, Am Sonntag, 17. Juli 2005 14:44 schrieb Dr Gerard Hammond: > I wrote one app for MacOS and Win32 clients called 'SyBrowser' > (It was originally written to query Sybase db's but now does others as > well) It is currently restricted to SQlite 2 db's > > http://www.macsos.com.au Did I

Re: [sqlite] Error: file is encrypted or is not a database

2005-07-17 Thread D. Richard Hipp
The Philips MP3 players use SQLite version 2.x. You probably downloaded version 3.x. Version 3.x will not read or write version 2.x database files. Try using version 2.8.16 instead of whatever version it is you downloaded. On Sun, 2005-07-17 at 12:08 +0200, Karl Sinn wrote: > Hi, > > I am