This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I looked at the forum and saw other threads regarding this problem but they seem to be rather old. I'm using LightSpeed 4 (lastest official build, not nightly build) and sometimes I get this error when trying to save changes to my VistaDB VistaDB.Diagnostic.VistaDBException (0x000000FC): An item with the same key has already been added. I keep a list of the last items from the Clipboard (let's say 10). If the number of stored items is exceeded I delete the old entries and add the new one. Here's a piece of the code I'm using. //remove old rows before adding new ones
Any ideas of what could cause the problem? Unfortunately I cannot reproduce it consistently. Thanks.
|
|
|
[quote user="nagar"]VistaDB.Diagnostic.VistaDBException (0x000000FC): An item with the same key has already been added. This looks like an internal error in VistaDB. If it were complaining about adding the row, I might suspect some sort of SQL ordering issue resulting in a key conflict, but since it is complaining about deleting a row, I can only imagine that it's having a problem with its own internal data structures. It may be possible to solve this by cleaning/compacting the database -- I've sometimes been able to get rid of spurious VistaDB errors that way -- but I can't make any promises...! |
|