This project is read-only.

Database file error

Nov 25, 2013 at 3:22 AM
Hello Jacek,

My database file could not open. When i try to open it, it throw exception (NDatabase has thrown an ExceptionError:201:Block type of wrong type : expected 4, Found 0 at position 1206864/oid=1181).

Could you please tell me about this type of error and how to fix it.

Dec 7, 2013 at 1:56 PM
It just mean the file is broken. From some reason in binary file the expected value cannot be find.

To know the reason, you have to know all actions you did and what was the order which created such issue, which is not easy thing to do. Ideally in such situations is to use some backup of database file (having in mind that you regularly created backups as NDatabase is not supporting backup automatically, just there is a need for back up of files - operating systems are supporting such features).