locked
RoamingState RRS feed

  • Question

  • My RoamingState folder consists of a single RoamingState.XML file, 3K in size. If I launch my app on a new computer it is pulling down the RoamingState as expected. However, my RoamingState never seems to get updated in the cloud, so it's pulling down an old one. This is a problem as we've had cases where people get something undesirable in their RoamingState and that's the one they keep getting pulled down. They can change it locally but then, since that never gets pulled up to the cloud, the next machine gets the bad RoamingState again.

    It's probably more an issue for our QA team as they are uninstalling/reinstalling the app more than most users, but, all the same, this RoamingState is something we've invested in, and it seems to not work.

    Any ideas?

    Wednesday, April 9, 2014 5:07 PM

Answers

  • Hi,

    Accroding to your description, Do you mean the RoamingState in cloud cannot synchronized. Does roaming fail just for this app or does it also fail for other apps on the system? Make sure that you have both systems set up to roam in "Sync your settings" and is it just the one file that fails or do other settings or files also fail?

    Please see Guidelines for roaming app data for more information on roaming, including common errors and troubleshooting steps:

    Developers can lock their device in order to trigger a synchronization of roaming application data. If it seems that the application data does not transition within a certain time frame, please check the following items and make sure that:

    And refer to the blog below:

    http://blogs.msdn.com/b/windowsappdev/archive/2012/07/17/roaming-your-app-data.aspx

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, April 10, 2014 7:15 AM
  • I've noticed something similar in the past.  What I did to fix the problem is write my file to local storage, then copy it periodically to roaming such as when major changes take place, every five seconds (if it changed) and upon app exit.

    I found if I wrote the roaming data to the roaming store in quick intervals, windows would "back-off" from sending the roaming updates to longer and longer times, and eventually it just wouldn't work.

    I haven't experienced past roaming data until this week where tiles for my app that I've pinned and removed keep re-appearing.  I keep un-pinning them, and they keep re-appearing - which sounds similar to your old roamed data problem.


    Darin R.

    Friday, April 11, 2014 2:39 PM
  • Hi

    Problem solved? I'd like to provide some extra information besides Anne's reply.

    I would recommend you to double check the "Sync your settings" and maybe policy to ensure they are setting correctly. And if your data in roaming folder follow the rule mentioned in Roaming app data guideline, probably it is not a Windows Store App issue, but probably a System issue. Besides, I found a KB: http://support.microsoft.com/kb/2795607/EN-US, hope it will give you some idea.

    To determine if it is a system issue or a Windows Store App issue, you could do some test, for instance manually put some file in the roaming folder and login to the another PC with same user account to see if the data can be transferred successfully.

    In order to get a sufficient help from Microsoft, you could also ask the question at http://answers.microsoft.com, this is the place to solve System issues.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Tuesday, April 22, 2014 7:31 AM
    Moderator

All replies

  • Hi,

    Accroding to your description, Do you mean the RoamingState in cloud cannot synchronized. Does roaming fail just for this app or does it also fail for other apps on the system? Make sure that you have both systems set up to roam in "Sync your settings" and is it just the one file that fails or do other settings or files also fail?

    Please see Guidelines for roaming app data for more information on roaming, including common errors and troubleshooting steps:

    Developers can lock their device in order to trigger a synchronization of roaming application data. If it seems that the application data does not transition within a certain time frame, please check the following items and make sure that:

    And refer to the blog below:

    http://blogs.msdn.com/b/windowsappdev/archive/2012/07/17/roaming-your-app-data.aspx

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, April 10, 2014 7:15 AM
  • I've noticed something similar in the past.  What I did to fix the problem is write my file to local storage, then copy it periodically to roaming such as when major changes take place, every five seconds (if it changed) and upon app exit.

    I found if I wrote the roaming data to the roaming store in quick intervals, windows would "back-off" from sending the roaming updates to longer and longer times, and eventually it just wouldn't work.

    I haven't experienced past roaming data until this week where tiles for my app that I've pinned and removed keep re-appearing.  I keep un-pinning them, and they keep re-appearing - which sounds similar to your old roamed data problem.


    Darin R.

    Friday, April 11, 2014 2:39 PM
  • Hi

    Problem solved? I'd like to provide some extra information besides Anne's reply.

    I would recommend you to double check the "Sync your settings" and maybe policy to ensure they are setting correctly. And if your data in roaming folder follow the rule mentioned in Roaming app data guideline, probably it is not a Windows Store App issue, but probably a System issue. Besides, I found a KB: http://support.microsoft.com/kb/2795607/EN-US, hope it will give you some idea.

    To determine if it is a system issue or a Windows Store App issue, you could do some test, for instance manually put some file in the roaming folder and login to the another PC with same user account to see if the data can be transferred successfully.

    In order to get a sufficient help from Microsoft, you could also ask the question at http://answers.microsoft.com, this is the place to solve System issues.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Tuesday, April 22, 2014 7:31 AM
    Moderator