Java exception error when retrieving data

Hi everyone

In a new deployment for Commcare 2.2.1, on some phones we can the following
error once we try to retrieve data for the first time:

java.io.IOEception[Couldn't access data at
file:///C:/commcare_ota_backup.xml due to lack of permissions.]

They are out of the box, with identical setting for connectivity,
configuration, application settings, etc.

At first we thought it was a matter of the memory card because we haven't
been able to load the application without a memory card, but even when I
put the same memory card (and sim card) in I cannot load it on the phone.

Any ideas?! Thanks!

Julia

Thanks so much - that worked! I thought just moving the app to the memory
card would do it but clearly not.

On the other phone after moving the application I took the memory card out
and the application seems to function fine but I guess we should still make
sure we have memory cards in place before training?

Julia

··· On Monday, December 17, 2012 11:28:07 AM UTC+3, Julia wrote: > > Hi everyone > > In a new deployment for Commcare 2.2.1, on some phones we can the > following error once we try to retrieve data for the first time: > > *java.io.IOEception[Couldn't access data at > file:///C:/commcare_ota_backup.xml due to lack of permissions.]* > > They are out of the box, with identical setting for connectivity, > configuration, application settings, etc. > > At first we thought it was a matter of the memory card because we haven't > been able to load the application without a memory card, but even when I > put the same memory card (and sim card) in I cannot load it on the phone. > > Any ideas?! Thanks! > > Julia > >

Julia,

You're correct that this has to do with there not being a memory card in
place. Sorry about this issue (not being able to restore without a memory
card), it should be corrected in the next version, although we still do
recommend that every phone have a memory card for a number of reasons.

The other issue is that CommCare determines what the root of the file
system is the first time it starts up, and if there's no SD card in place
it assumes you are using the only file system available (phone memory).

If you've started up CommCare once already without an SD card, and it has
set the root to be the phone memory (C:/), you can change it by logging in
as the admin user, and going to

Options -> Settings

and setting File System Root to "Memory Card".

After that you should be able to restore a user from

Options -> Restore User

on the home screen.

Alternatively you can reinstall CommCare from scratch with an SD card in
place and it should set the root to the SD card.

-Clayton

··· On Mon, Dec 17, 2012 at 1:58 PM, Julia wrote:

Hi everyone

In a new deployment for Commcare 2.2.1, on some phones we can the
following error once we try to retrieve data for the first time:

java.io.IOEception[Couldn't access data at
file:///C:/commcare_ota_backup.xml due to lack of permissions.]

They are out of the box, with identical setting for connectivity,
configuration, application settings, etc.

At first we thought it was a matter of the memory card because we haven't
been able to load the application without a memory card, but even when I
put the same memory card (and sim card) in I cannot load it on the phone.

Any ideas?! Thanks!

Julia

Julia,

Most of CommCare's features work without an SD card, but sync,
restore, multimedia, and update all either require or work significantly
better with an SD card in the phone. They don't have to be large, but
writing to the SD card is the only way for CommCare to cleanly download and
stream files, so we strongly recommend that one be present in phones
running CommCare.

As an informational: None of CommCare's functionality is changed based on
whether you are running from the SD card or the app memory other than minor
changes to speed and some memory overhead, so you shouldn't need to worry
about that.

-Clayton

··· On Mon, Dec 17, 2012 at 3:03 PM, Julia wrote:

Thanks so much - that worked! I thought just moving the app to the memory
card would do it but clearly not.

On the other phone after moving the application I took the memory card out
and the application seems to function fine but I guess we should still make
sure we have memory cards in place before training?

Julia

On Monday, December 17, 2012 11:28:07 AM UTC+3, Julia wrote:

Hi everyone

In a new deployment for Commcare 2.2.1, on some phones we can the
following error once we try to retrieve data for the first time:

java.io.IOEception[Couldn't access data at file:///C:/commcare_ota_backup.xml
due to lack of permissions.]

They are out of the box, with identical setting for connectivity,
configuration, application settings, etc.

At first we thought it was a matter of the memory card because we haven't
been able to load the application without a memory card, but even when I
put the same memory card (and sim card) in I cannot load it on the phone.

Any ideas?! Thanks!

Julia