locked
about InvalidCastException RRS feed

  • Question

  • My project use blend 3 to design. When I open my project with blend, and create a new page, blend create a new page in design view. But the page's content is: InvalidCastException: can't convert type: "System.Windows.Controls.Primitives.Popup" to "System.Windows.Controls.Grid". StackTrace:null InnerException:null. Then I close the page, Blend will close also

    How to solve this problem?
    I try two machine, the problem is same. One system is windows server 2008, the other one is windows xp

    The page's xmal source code:

    <navigation:Page
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
        x:Class="SaaSOA.Page3"
        Title="Page3 Page"
        d:DesignWidth="640" d:DesignHeight="480">
       
        <Grid x:Name="LayoutRoot" />
    </navigation:Page>
    Tuesday, March 9, 2010 3:18 AM