Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4082978
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:15:17+00:00 2026-05-20T18:15:17+00:00

I am having problems getting my app to restore/load from start after tombstoning. It

  • 0

I am having problems getting my app to restore/load from start after tombstoning.

It fails at the following line:

ServerCollection collection = AppSettings.GetSetting(AppResources.settings_servercollection) as ServerCollection;

This line is in a function that is called inside Launching and Activated.

The AppSettings class is this class Here:, but I modified it to use a object instead of a <T>.

The debugger does not seem to enter the AppSettings function. It also displays the string i’m expecting to key on (AppResources.settings_servercollection), so I do not think that is the problem either.

Lastly, no exceptions are thrown. I have the entire section in a try, and breakpoints inside UnhandledException and NavigationFailed of the application, but I never seem to arrive at any of them.

Has anyone else experienced this before, or know what the cause might be?

Edit: Just wanted to point out that of course the app works after Cleaning/Rebuilding/Reinstalling etc.
Edit: I’ve been able to isolate it to this:

IsolatedStorageSettings Settings = System.IO.IsolatedStorage.IsolatedStorageSettings.ApplicationSettings;

I found that out by placing it in each the Get/Set functions of AppSettings, and seeing it die directly on that line after entering the function. That said, Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:15:17+00:00Added an answer on May 20, 2026 at 6:15 pm

    The serialization turned out to be working Okay. The real problem was that I had some infinite recursion going on in a property that I was saving.

    public Dictionary<string, object> Dictionary
            {
                get
                {
                    if (_dictionary == null)
                        _dictionary = new Dictionary<string, object>();
                    return _dictionary;
                }
                set
                {
                    Dictionary = value;
                }
            }
    

    As you can probably see, that was not going to end well. Too bad there wasn’t a “StackOverflowException” or anything like there is in the console C# applications i’ve written before.

    Anyway, thanks for the help.. Hope anyone else who has this problem may find this helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems getting my iPad app to detect its interfaceOrientation in the first
I'm having problems with getting data using LINQ-to-SQL. I use the following piece of
I'm pretty new to MonoTouch and I'm having problems getting my app to rotate
I am having problems getting text within a table to appear centered in IE.
I am having problems getting my form to Post to my Save method in
I'm trying to merge two main menus together, but am having problems getting the
I'm having some problems getting my object to gracefully fail out if an invalid
I've been having tons of problems getting the non-xml configuration for Castle Windsor set
I bought a new Vista PC recently but was having lots of problems getting
I am having a problem getting a list of fields from a query defined

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.