Search code examples
c#.netdb4o

Two different .NET applications can't access the db4o file


I have just downloaded and and am using db40 7.9 and am testing it on two different .NET 3.5 applications using the supplied tutorial.

When I access the same database (c:\pilot.db4o) file using these two applications, one after the other, each one is reflecting only the changes made by that application, even if those changes were made during the previous run.

Why is each Application not seeing changes the other application made to the database file?


Solution

  • How is the object model defined in each application? Do you have a (a) third assembly that defines this object model or (b) you duplicated it in each app?

    Scenario B will not work since db4o needs to remember the assembly name.

    PS: I know this is a late answer but I think the information is useful for others.

    Adriano