WPF – Silverlight error: AG_E_UNKNOWN_ERROR

When running my Silverlight project, I get an AG_E_UNKNOWN_ERROR. The project is ported from WPF and I can collect it on the web, I think it is invalid with my XAML The content is about

Edit C# control source can be found here: SilverlightCalendar/Controls

This is Generic.xaml, the style of my application.

 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas. microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:SilverlightCalendar.Controls">












< div class="content-split">

I recently debugged a bunch of these. When I can’t see the problem, I just comment on the big chunks of XAML until I don’t get an error and then Uncomment the part until I find the point that caused the exception.

Edit: Beginners get rid of the curly braces in TargetType=”{c:CalendarTimeslotItem}”. Just tried it and I just got it Exception. Just use TargetType=”c:CalendarTimeslotItem”

When running my Silverlight project, I get an AG_E_UNKNOWN_ERROR. The project is ported from WPF, I can collect it on the web, I think it is related to invalid content in my XAML

Edit C# control source can be found here: SilverlightCalendar/Controls

This is Generic.xaml, the style of my application.

 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"< br /> xmlns:c="clr-namespace:SilverlightCalendar.Controls">












I debugged a bunch of these recently. When I can’t see the problem, I just comment the big chunks of XAML until I don’t get the error and then uncomment the part until I find the point that caused the exception.

Edit: Beginners get rid of the curly braces in TargetType=”{c:CalendarTimeslotItem}”. Just tried it and I just got an exception like this. Just use TargetType=”c:CalendarTimeslotItem”

< p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4064 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.