When Db4oFactiory.OpenFile ("somename") is used; This folder was not allowed to leave "somename" in the Visual Studio directory and was getting the disallowed permissions. I solved it by giving it a full path:
db = Db4oFactory.OpenFile ("E: / test-projects / db4o / db");
And now I'm holding a FileNotFoundException, but DB4O docs clearly states that if a DB is not already in the game, then openfile will generate them. What am I missing?
Thank you!
Apparently you have to suffix a file extension. I was thinking that he would need more than one file and thus a directory would be required
Comments
Post a Comment