error with 2 users on one computer

Geoff Syme's Avatar

Geoff Syme

18 Sep, 2020 04:35 AM

I receive the attached error when 'user-2' attempts to open the moneydance files.
'user-1' on the same computer has no problem.
In normal operation the file is synced via Google Drive, however for the test I have attempted to open the same file from a usb memory stick.
User-1 works OK, user-2 gets the Java error pictured in the screenshot.

  1. 1 Posted by derekkent23 on 18 Sep, 2020 07:26 AM

    derekkent23's Avatar

    I am not support staff, just a user.
    Hi Geoff

    You should never try to open a Moneydance data set with two computers at the same time without using Moneydances internal sync engine. Such attempts can result in file corruption.

    I have tested Dropbox, the preferred cloud server, Google Drive, OneDrive, and pCload and all work well with Moneydances sync engine.

    Hope this helps.

  2. 2 Posted by Geoffrey Syme on 18 Sep, 2020 07:45 AM

    Geoffrey Syme's Avatar

    Thanks for reply.
    NO! Certainly not trying to open 2 copies at the same time. That sort of
    thing certainly requires server like capabilities and even then can (will!)
    cause problems.
    As I said, I have tested it using a copy of the file on a usb memory
    stick. User-1 can open it OK, user-2 gets the error. I don't believe it is
    an ownership problem either as user-2 can open the file OK on user-2's own
    When I next get to the computer with the 2 users I am going to check for
    any sign of Java in user-2's directory space. This could have happened if
    something has been installed by user-2 requiring a different version of
    Good weekend exercise!
    Thanks again

    On Fri, 18 Sep. 2020, 16:56 derekkent23, <[email blocked]>

  3. 3 Posted by derekkent23 on 18 Sep, 2020 08:06 AM

    derekkent23's Avatar

    I am not support staff, just a user.
    Hi Geoff


    Moneydance has its own copy of java imbedded and does not use any other copy on java installed on a computer.

    If you use Moneydances inbuild sync engine the you can have the data set open on as many computers as you like at the same time. Enter a transaction on one computer and it will appear on the other computers within 60 seconds. The sync engine need to work with a cloud server such as the ones I have tested, Dropbox, the preferred cloud server, Google Drive, OneDrive, and pCload

    EDIT as dwg states always install the same version/build on all computers e.g. 2020.1(1928)

    Hope this helps.

  4. 4 Posted by dwg on 18 Sep, 2020 08:07 AM

    dwg's Avatar

    I'm a fellow user.

    The error you are getting is normally a sign of data corruption. If it only happens with one user and the file is still usable by the other it suggests something in that users account.

    The first thing that comes to mind is if the users are using the exact same version of Moneydance down to the build number.

  5. 5 Posted by Mike Bray on 18 Sep, 2020 09:36 AM

    Mike Bray 's Avatar

    Hi Geoff, if I read your post correctly you have 2 users on the same machine running Moneydance. I do this a lot for production and for testing extensions. So when you have more than one user on the same machine they can share the installed version of MD. They will each get a separate .moneydance folder that holds extensions, configuration files and error logs. This folder is stored under the user directory, hence the different copies, i.e ~user1/.moneydance and ~user2/.moneydance.

    Under normal circumstances your data is held in a folder called Documents under the .Moneydance folder (~user/.Moneydance/Documents) and thus is kept separate. You can store data anywhere on your computer (or cloud, though not recommended). However, if you try to open the same data file from the 2 different users it will fail. Moneydance does not use a database manager it uses it's own internal memory based data management system. It does not expect it to be shared with anything else. Opening the same file in 2 different instances of Moneydance will give unpredictable results.

    For syncing, Moneydance writes the changes to a file out to the specified directory. It also watches sync directories to identify any changes that have been written by another instance of Moneydance. When it detects such a change it reads the data in and applies it.

    So for your 2 users on the same machine you need to use the sync mechanism. Not opening the same file.

    Hope that helps
    Mike (not support)

  6. 6 Posted by Geoffrey Syme on 18 Sep, 2020 12:02 PM

    Geoffrey Syme's Avatar

    Thanks Mike,
    I'd forgotten all that. Had most of this going some years ago via Dropbox.
    When Dropbox introduced their machine limits we went a different direction.
    Now we can do what we want via google drive but I should have gone back and
    'read the instructions stupid'.

    On Fri, 18 Sep. 2020, 19:06 Mike Bray, <[email blocked]>

  7. 7 Posted by derekkent23 on 18 Sep, 2020 12:28 PM

    derekkent23's Avatar

    I am not support staff, just a user.
    Hi Geoff

    In case you ever want to sync to a mobile device such as a phone you will need to go back to a free Dropbox account.

    The Dropbox restrictions maybe not as bad as they first sound.

    The limit of 3 devices running Dropbox applications with a free account applies to the devices that can be connected to a Dropbox product itself, via official Dropbox applications, such as the official Dropbox desktop client or mobile applications.

    If your computers are using Dropbox Folder as a syncing method for Moneydance then as you have to have Dropbox Client installed, this count towards the limit. However, if you use Dropbox Connection and don’t have Dropbox Client installed, this does not count towards the limit. This limit does not apply to third party apps that connect to Dropbox via the Dropbox API. This includes the Dropbox Application Program Interface that is embedded in Moneydance mobile. Your mobile devices would only count towards the limit if you had Dropbox official app installed on your mobile devices for another reason.

    Hope this helps.

  8. 8 Posted by Geoffrey Syme on 19 Sep, 2020 03:47 AM

    Geoffrey Syme's Avatar

    Hi again.
    Thanks for all the advise and I did realise I knew much of it, just didn't
    think long enough.
    Just to further my embarrassment I realised that I had all the info and
    instructions neatly printed and included in my log book!
    It's all working OK.
    Wearing another hat I do use a DropBox app and it all works well, however I
    have no need for that facility with Moneydance. As Drive is used for
    everything else it is, for simplicity etc better to use it for Moneydance.
    Regards Geoff

    On Fri, 18 Sep. 2020, 21:58 derekkent23, <[email blocked]>

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • Screenshot_from_2020-09-18_13-54-07.png 11.6 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac