have you heard of any cases where a database gets corrupted after using UCanAccess? We recently updated from 3.0.6 to 4.0.2 and our customers report broken databases now. The use case is inserting a new table with logging information each time a process is executed to present it to the user.
Greetings and thanks!
Last edit: logineimer 2017-08-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for the link! I'm not sure if this is the problem because my DDL statement does not contain an ID definition. According to the changelog, UCanAccess 3.0.6 supported basic DDL.
Well, I hate this silly question: Is it absolutely necessary to define a primary key? If we don't, does UCanAccess do?
Unfortunately, I cannot provide the broken file because it's full of customer's data. When trying to do a "Compact and Repair Database" operation, I see the same error dialog.
However, there seem to be some issues referring to the SO question. Can you guarantee that those won't happen when only reading from the database?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes we can, UCanAccess doesn't change anything in read-only mode. And a sanitized database without data would be very useful (we only need metadata, not data).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll try my best to open the database so i can send it to you! Here is a screenshot of an error which occurs while opening the database with UCanAccess:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I tried to open the database with permanent shift key down, i tried to do a compact and repair but nothing let me open this fu****ng database. Creating a fresh database and importing the data from the broken one didn't help neither.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
have you heard of any cases where a database gets corrupted after using UCanAccess? We recently updated from 3.0.6 to 4.0.2 and our customers report broken databases now. The use case is inserting a new table with logging information each time a process is executed to present it to the user.
Greetings and thanks!
Last edit: logineimer 2017-08-23
Is it possible that you are referring to this issue? If not, then please provide more information on how to reproduce the issue.
Hello Gord,
thanks for the link! I'm not sure if this is the problem because my DDL statement does not contain an ID definition. According to the changelog, UCanAccess 3.0.6 supported basic DDL.
Well, I hate this silly question: Is it absolutely necessary to define a primary key? If we don't, does UCanAccess do?
Edit: The statement never changed over the past months.
This ist the error when opening the database in Access. It says that the rows cannot be read and there is no read permission on MSysAccessObjects.
Last edit: logineimer 2017-08-23
I just tried this on a new empty database using 4.0.2 and it worked fine for me
If you take one of the corrupted databases and do a "Compact and Repair Database" operation in Access does that fix it?
Can you provide an empty (or sanitized) sample database that can reproduce the issue under 4.0.2?
re: primary key - No, it is not absolutely necessary for a table to have a primary key defined.
Last edit: Gord Thompson 2017-08-23
Unfortunately, I cannot provide the broken file because it's full of customer's data. When trying to do a "Compact and Repair Database" operation, I see the same error dialog.
However, there seem to be some issues referring to the SO question. Can you guarantee that those won't happen when only reading from the database?
Yes we can, UCanAccess doesn't change anything in read-only mode. And a sanitized database without data would be very useful (we only need metadata, not data).
I'll try my best to open the database so i can send it to you! Here is a screenshot of an error which occurs while opening the database with UCanAccess:
Well, I tried to open the database with permanent shift key down, i tried to do a compact and repair but nothing let me open this fu****ng database. Creating a fresh database and importing the data from the broken one didn't help neither.
Are you able to reproduce the issue by
If so, then that copy of the "good" database (just structure, no data) would be the most useful for diagnostic purposes.