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 7926201
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:40:01+00:00 2026-06-03T18:40:01+00:00

My app has already been published in the App Hub. But i received an

  • 0

My app has already been published in the App Hub. But i received an error report sayin there is a crash caused by GuideAlreadyVisibleException.
I have used guide to show custom messages. What is this exception and when is it caused? Im not able to reproduce the crash in the device.

This is how i have used the guide messages

            if (pCycMan.GetStartDate() == pCycMan.GetDefaultDate())
            {
                Guide.BeginShowMessageBox(resMan.GetString("msgboxWelcomeStringHeader"), resMan.GetString("msgboxWelcomeStringDescription1") + "\n" + resMan.GetString("msgboxWelcomeStringDescription2"),
                    new string[] { resMan.GetString("msgBoxWelcomeOk"), resMan.GetString("appBarIconFAQText") }, 1, MessageBoxIcon.None, new AsyncCallback(OnMessageBoxClosed), null);
            }
            else if (pCycMan.GetCycleStartDelay() > 0)
            {
                if (pCycMan.IsCyclePaused())
                {
                    Guide.BeginShowMessageBox(resMan.GetString("msgboxCycleDelayPromptHeader"), resMan.GetString("msgboxCyclePausedPromptDescription") + "\n" + resMan.GetString("msgboxCycleDelayPromptDescription3"),
                        new string[] { resMan.GetString("msgBoxWelcomeOk"), resMan.GetString("appBarIconFAQText") }, 1, MessageBoxIcon.None, new AsyncCallback(OnMessageBoxClosed), null);
                }
                else
                {
                    String delayMsg = resMan.GetString("msgboxCycleDelayPromptDescription1") + " " + pCycMan.GetCycleStartDelay().ToString() + " " + resMan.GetString("msgboxCycleDelayPromptDescription2")+ "\n" + resMan.GetString("msgboxCycleDelayPromptDescription3") ;

                    Guide.BeginShowMessageBox(resMan.GetString("msgboxCycleDelayPromptHeader"), delayMsg,
                        new string[] { resMan.GetString("msgBoxWelcomeOk"), resMan.GetString("appBarIconFAQText") }, 1, MessageBoxIcon.None, new AsyncCallback(OnMessageBoxClosed), null);
                }
            }

And

        private void OnMessageBoxClosed(IAsyncResult msgboxresult)
    {
        int? buttonIndex = Guide.EndShowMessageBox(msgboxresult);
        switch (buttonIndex)
        {
            case 0:
                break;

            case 1:
                Deployment.Current.Dispatcher.BeginInvoke(() => NavigateToHelpPage());
                break;
        }
    }
  • 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-06-03T18:40:02+00:00Added an answer on June 3, 2026 at 6:40 pm

    This issue can occur when a message box, input box, or any other prompt the Guide may show is opening, visible, or still closing when another prompt is trying to open.

    Two possible examples would be if your application displays a message box after a user clicks a button. If the user clicks the button twice really fast before the prompt is shown, or the user clicks the button again before the first prompt closes all the way, the exception will be thrown.

    I avoid this issue personally in some apps by adding a call to a helper method before I show any prompts. I have included a snippet that performs functionality similar to my helper method. I also add in a check to avoid an infinite loop by only letting it run for 3 seconds, after this I let the app crash if it needs to (but hopefully it doesn’t).

    public static void GuideSafetyWait(int maxDuration)
    {
        DateTime timeStarted = DateTime.Now;
        while (Guide.IsVisible)
        {
            if ((DateTime.Now - timeStarted).TotalMilliseconds >= maxDuration) 
                break; // Prevent infinite loop.
    
            Thread.Sleep(10); // This could be any number of milliseconds, but 
                              // if its too high, it may deliver a poor user experience.   
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on an Android App that has already been published to Google
I have an existing Android app project which has been already published on the
I know a similar question has already been posed on StackOverflow , but it
Apologies if this has already been asked and solved but through numerous searches and
I am working on a BlackBerry app. This app has already been developed in
I'm sure the problem has already been solved 100 times, but i cannot find
I know this question has already been answered but despite my efforts I can't
I know this topic has already been asked here, but I don't understand why
I know this question has already been asked but I am in urgent need
I have a Gallery-style app that has been already deployed. My local version has

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.