|
Home > Archive > MS SQLCE > August 2005 > Compact returns error if unable to compact, allthough the only fault is that there was nothing to c
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Compact returns error if unable to compact, allthough the only fault is that there was nothing to c
|
|
|
| Hi guys!
Has anyone of you ran into this problem ?
Were you able to fix it somehow ?
The problem is that, if we call the compact method and there actually
is nothing to compact (regardless og data amount) and the database is
fine (able to open the database and use data), the compact function
will then return an error, stating that the database is defect.
On the other hand, if there is data to compact, no error is returned !
The problem is that if we ignore the error and there realy is a defect
or corrupted databse, the program will ofcourse crash!
We are using
- SQL Server CE 2.0
- Embedded Visual Studio 3.x
- Windows CE .net v. 5.0 on a x86
hope u can help or enligthen us ;)
Olrik Larsen
System developer
Cappit A/S
olr@cappit.not.dk
mail=mail-.not
|
|
|
|
|