Hi,
everytime my CE5.0 device is out of fuel, it loses my app saved in the
"Program Files" folder, all files in "My documents" and the SQL-Server
Mobile installation. If I reinstall my app, I get the message that the app
is just installed, but the application file ist not in the folder.
What could I do?
Thanks
Stefan

Re: Files lost on empty battery by ctacke/>

ctacke/>
Mon Apr 02 13:16:09 CDT 2007

The registry is persistent, so that's why you get the dialog that it thinks
it's already there. The filesystem is not persistent, which is why the
files are gone.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Stefan Dietl" <info@sdsoft.it> wrote in message
news:md5ligwvf06m.9zgftf00ouly.dlg@40tude.net...
> Hi,
> everytime my CE5.0 device is out of fuel, it loses my app saved in the
> "Program Files" folder, all files in "My documents" and the SQL-Server
> Mobile installation. If I reinstall my app, I get the message that the app
> is just installed, but the application file ist not in the folder.
> What could I do?
> Thanks
> Stefan



Re: Files lost on empty battery by Stefan

Stefan
Mon Apr 02 14:31:11 CDT 2007

Hi,
> The registry is persistent, so that's why you get the dialog that it thinks
> it's already there. The filesystem is not persistent, which is why the
> files are gone.

And what can I do make the file-System pesistent? Or have I to install the
app on a memory-card.

Stefan

Re: Files lost on empty battery by Ginny

Ginny
Mon Apr 02 14:50:15 CDT 2007

Stefan,

Install the files on a memory card unless the device is WM 5 and already has
persistent storage.

--
Ginny


"Stefan Dietl" <info@sdsoft.it> wrote in message
news:14h1kkg6mms0u$.k44wnk0t2gm7.dlg@40tude.net...
> Hi,
>> The registry is persistent, so that's why you get the dialog that it
>> thinks
>> it's already there. The filesystem is not persistent, which is why the
>> files are gone.
>
> And what can I do make the file-System pesistent? Or have I to install the
> app on a memory-card.
>
> Stefan


Re: Files lost on empty battery by ctacke/>

ctacke/>
Mon Apr 02 14:54:01 CDT 2007

You can't. The OEM can provide persistence to some or all of the file
system but that's up to them. The other option is a separate disk, but if
your install puts stuff into \Windows then that stuff will be lost.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Stefan Dietl" <info@sdsoft.it> wrote in message
news:14h1kkg6mms0u$.k44wnk0t2gm7.dlg@40tude.net...
> Hi,
>> The registry is persistent, so that's why you get the dialog that it
>> thinks
>> it's already there. The filesystem is not persistent, which is why the
>> files are gone.
>
> And what can I do make the file-System pesistent? Or have I to install the
> app on a memory-card.
>
> Stefan



Re: Files lost on empty battery by Stefan

Stefan
Mon Apr 02 16:18:06 CDT 2007

Hi Ginny,

> Install the files on a memory card unless the device is WM 5 and already has
> persistent storage.

the device is Windows CE 5.00 (Build 1400). If I understand You correctly,
You say that in this case the device should not lose the data? Strange, my
Pocket PC Version 4.20 never lost data nor program files.

Stefan

Re: Files lost on empty battery by ctacke/>

ctacke/>
Mon Apr 02 16:22:33 CDT 2007

Not strange at all. It's _not_ a Pocket PC or Windows Mobile device. It
behaves exactly as the OEM designed it to behave, and persistence of the
file store is not something they chose to implement.

All Pocket PC devices before WM 5.0 behaved the same way.


--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--



"Stefan Dietl" <info@sdsoft.it> wrote in message
news:15mnb0qubazqk$.13mosurntp23z.dlg@40tude.net...
> Hi Ginny,
>
>> Install the files on a memory card unless the device is WM 5 and already
>> has
>> persistent storage.
>
> the device is Windows CE 5.00 (Build 1400). If I understand You correctly,
> You say that in this case the device should not lose the data? Strange, my
> Pocket PC Version 4.20 never lost data nor program files.
>
> Stefan



Re: Files lost on empty battery by Stefan

Stefan
Mon Apr 02 16:26:45 CDT 2007

> Not strange at all. It's _not_ a Pocket PC or Windows Mobile device. It
> behaves exactly as the OEM designed it to behave, and persistence of the
> file store is not something they chose to implement.
>
> All Pocket PC devices before WM 5.0 behaved the same way.

Ok, thanks
Stefan

Re: Files lost on empty battery by Ginny

Ginny
Mon Apr 02 16:29:41 CDT 2007

Stefan,

I apologize for not following the entire discussion. Windows Mobile 5
specifies persistant storage for devices, but I don't recall if this is also
the case for CE 5 in general. My users who couldn't remember to charge their
batteries from time to time managed to lose data that wasn't on a storage
card on a variety of devices before WM 5, so I think you may have been lucky
in the past. Of course you'll still lose any data that's just in memory but
not written to persistent storage even with WM 5 devices, so I always write
data out to a file as its collected.

HTH,

--
Ginny


"Stefan Dietl" <info@sdsoft.it> wrote in message
news:15mnb0qubazqk$.13mosurntp23z.dlg@40tude.net...
> Hi Ginny,
>
>> Install the files on a memory card unless the device is WM 5 and already
>> has
>> persistent storage.
>
> the device is Windows CE 5.00 (Build 1400). If I understand You correctly,
> You say that in this case the device should not lose the data? Strange, my
> Pocket PC Version 4.20 never lost data nor program files.
>
> Stefan