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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:04:19+00:00 2026-05-12T19:04:19+00:00

Had a page that was working fine. Only change I made was to add

  • 0

Had a page that was working fine. Only change I made was to add a datagrid to the page (which also added the xmlns) and all of the sudden I’m getting Page Not Found. Checked the UriMappings. Tried the default nav link. No joy.

Ideas?

UPDATE: The answer was that I had a mock class that was not initializing a collection. See Byrant’s answer for a way to save yourself some time.

  • 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-12T19:04:19+00:00Added an answer on May 12, 2026 at 7:04 pm

    To see what the issue is you need to make one change to your MainPage.xaml.cs:

    // If an error occurs during navigation, show an error window
    private void ContentFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
    {
        Exception ex = e.Exception;
    
        while (ex.InnerException != null)
        {
            ex = ex.InnerException;
        }
    
        e.Handled = true;
        ChildWindow errorWin = new ErrorWindow(ex);
        errorWin.Show();
    }
    

    Once you’ve made that change when you start the application you should see the exception instead of the page where the exception occurred.

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

Sidebar

Related Questions

I had the following check in my jQuery which I thought was working fine
I had few pages with normal table border which were working fine until I
I have an updatepanel in ASP.NET that does a partial page refresh. I've had
I had working a java script in my html page.Now i moved the script
A site that I'm working on has a ASP.NET webforms page that posts back
I had a working page with linq to sql and now I'm currently converting
I had this simple modal contact form working fine but must have broke it
I had developed Android Application which has Login Authentication Page. When the user logs
I've had several cases where I had a page with several query parameters -
I had a login page. once user successfuly logged in, they can view and

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.