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

  • SEARCH
  • Home
  • 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 7163105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:50:47+00:00 2026-05-28T13:50:47+00:00

I recently submitted a small app working on Silverlight framework. But my app got

  • 0

I recently submitted a small app working on Silverlight framework.
But my app got rejected from the marketplace due to error 5.2.3 i.e Application Responsiveness After Being Deactivated.
What I found was :
After a user successfully completes the game(a puzzle), I am showing him a dialog :

MessageBoxResult mr = MessageBox.Show("You have won! Do you want to start another game?", "Information", MessageBoxButton.OKCancel);
if(mr==MessageBoxResult.Cancel)
{
    NavigationService.GoBack();
}

Now the point is – If the user presses the start button after this dialog box is displayed, the app stops throwing an exception –
Navigation is not allowed when the task is not in the foreground. Error: -2147220990

It seems to me a valid error, though I am not sure how my other apps successfully passed the certification process though they had the same flaw. I have just started developing WP apps so I dont have much knowledge of things to do. Please could you help me a workaround.

  • 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-28T13:50:48+00:00Added an answer on May 28, 2026 at 1:50 pm

    It doesn’t look like there is an easy test for this case. It would appear that the MessageBox is cancelled before the Deactivated event is fired, so there is no way that I can see to test for this state.

    My suggestion would be to detect and swallow the specific exception:

      MessageBoxResult mr = MessageBox.Show("You have won! Do you want to start another game?", "Information", MessageBoxButton.OKCancel);
      if (mr == MessageBoxResult.Cancel)
      {
        try
        {
          NavigationService.GoBack();
        }
        catch (InvalidOperationException e)
        {
          // occurs if message box closed due to de-activation
        }
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently submitted my app for the ipad, and it was rejected for not
I recently submitted an app to Apple and sadly it was rejected. The reason
Recently, I've been dealing with an error with accessing MAPI via the .NET framework
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
I recently submitted a small program for an assignment that had the following two
I recently had an app rejected because it called a private API - 'hideKeyboard'.
I recently updated my iPhone only app to an universal app and successfully submitted
I recently rolled an application that automatically encrypted a file output from another internal
I've developed an app, submitted to the AppStore and just recently was approved. The
I recently submitted my iPhone app for review. I also approved the in-app-purchase for

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.