Rick Sternquist  

Silverlight Error Message - AG_E_PARSER_BAD_PROPERTY_VALUE

Posted by Rick Sternquist
Thursday, April 16, 2009

When I was getting started with Silverlight 2 development, I ran into the following exception several times:


System.Windows.Markup.XamlParseException occurred
Message="AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 29 Position: 27]"


This exception is typically raised when an event is defined in your XAML, but not in your code-behind. If you're experiencing this exception, review your XAML and the associated events in your code-behind. Make sure they match up.

Labels: ,

2 Comments:

At April 19, 2009 at 12:13 PM , Blogger Chris Fuller said...

Thanks Rick - this saved me when I cut & pasted some XAML this morning.

 
At September 14, 2010 at 9:01 AM , Blogger Unknown said...

Thanx- it also comes if ResourceDictionaryUri is not correct(Resource not found case)

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home