The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
[W10M][UWP App] Exception! just simple app for navigate and back RRS feed

  • Question

  • Hi.

    I want just navigate to page and back to previous page.

    but suddenly happen exception as below.

    0xC000027B: An application-internal exception has occurred.

    I can't understand this exception.

    what's mean this exception?

    add my page code:

    <Page
        x:Class="DevInfo.MainPage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="using:DevInfo"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d">
        <Grid Margin="0,0,0,10.333" Background="Black">
            <Grid HorizontalAlignment="Left" Height="55" Margin="10,10,0,0" VerticalAlignment="Top" Width="340">
                <TextBox x:Name="textBox" HorizontalAlignment="Left" Margin="8,1,0,-1" TextWrapping="Wrap" Text="Device Informaion" VerticalAlignment="Top" Height="55" Width="280" FontSize="27" Padding="0,0,0,-6" BorderThickness="0" FontWeight="Bold" IsReadOnly="True" BorderBrush="White" Foreground="White" SelectionHighlightColor="Black" Background="Black"/>
            </Grid>
            <ListView x:Name="listView" HorizontalAlignment="Left" Height="540" Margin="10,61,0,0" VerticalAlignment="Top" Width="340" SelectionMode="None">
                <ListViewItem x:Name="MainListView_SaveFile" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_SaveFile_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" Width="304">
                  <Run FontWeight="Bold" FontSize="17" Text="Save to file"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_SaveFile_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  Save to a file the current device info."/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_Manufacturer" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_Manufacturer_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Foreground="#FFC8C8C8" Text="Manufacturer"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_Manufacturer_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  POINTMOBILE"/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_PhoneNumber" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_PhoneNumber_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Foreground="#FFC8C8C8" Text="Phone number"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_PhoneNumber_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  Unknown"/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_ProcessorInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_ProcessorInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Foreground="#FFC8C8C8" Text="Processor information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_ProcessorInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  MSM8916"/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_VersionInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_VersionInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Text="Version information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_VersionInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  Hardware revision, kernel version etc."/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_ManufactureInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_ManufactureInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Text="Manufacture information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_ManufactureInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="  Manufacture date, serial number, part number etc."/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_ModuleInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_ModuleInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Text="Module information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_ModuleInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="   Camera, display, keyboard, radio etc."/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_BatteryInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_BatteryInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Text="Battery information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_BatteryInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="   Battery charging status etc."/>
                    </TextBlock>
                </ListViewItem>
                <ListViewItem x:Name="MainListView_AppVerInfo" BorderBrush="#FF787878" BorderThickness="0,0,0,2" Background="#33000000" Foreground="White" HorizontalAlignment="Left" Height="64" VerticalAlignment="Center" Width="330" HorizontalContentAlignment="Left" Tapped="OnMainListTapped">
                    <TextBlock x:Name="MainListView_AppVerInfo_TextBlock" HorizontalAlignment="Left" Margin="-2,-21,-230.333,-23" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="294">
                        <Run FontWeight="Bold" FontSize="17" Text="App version information"/>
                  <Run Text="&#xA;"/>
                  <Run x:Name="MainListView_AppVerInfo_TextDetail" FontSize="12" Foreground="#FFC8C8C8" Text="   Demos, Tools applications."/>
                    </TextBlock>
                </ListViewItem>
            </ListView>
        </Grid>
    </Page>

    please check it.

    Thanks.

    Jack.



    • Edited by jack.hong Saturday, June 4, 2016 11:13 AM
    Saturday, June 4, 2016 11:11 AM

Answers

  • Hi Leon

    I find this problem, my mistake

    so sorry.

    I resolved this issue.

    thanks.

    Jack.

    • Marked as answer by jack.hong Tuesday, June 7, 2016 5:06 AM
    Tuesday, June 7, 2016 5:06 AM

All replies

  • Hi jack.hong,

    I tried to reproduce the issue by your code on my test machines(PC and Mobile Emulator), but it all works fine. My PC environment is 10586 and Mobile Emulator is “Mobile Emulator 10.0.10586.0 WVGA 4 inch 512MB”.

    Could you please tell us what is your OS/App/Visual Studio version? Have you tried to restart your Visual Studio and copy your code into a new black app to see if it works?

    Best Regards,

    Leon Guang


    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.

    Monday, June 6, 2016 6:23 AM
  • Hi Leon

    my pc environment is

    Win 10 Pro (1511 10586.318)

    Visual Studio 2015 update 2

    SDK 10.1.10586

    .

    and my device is

    Win 10 Mobile (10.1.10586.336)

    .

    I think my develop environment is no problem.

    this issue is occur from Release Configuration only.

    Debug Configuration is worked fine.

    .

    I found similer this issue with MSDN,

    they are recommented modify the default.rd.xml file.

    but I can't...

    please let me know guide-line for modify.

    Thanks.

    Jack.

    Tuesday, June 7, 2016 12:56 AM
  • Hi Leon

    I find this problem, my mistake

    so sorry.

    I resolved this issue.

    thanks.

    Jack.

    • Marked as answer by jack.hong Tuesday, June 7, 2016 5:06 AM
    Tuesday, June 7, 2016 5:06 AM