title: How do you debug a XamlParseException?
body: <p>I'm trying to use a 3rd party component in my Silverlight application and when I try to create an instance of the control, I get a XamlParseException:</p>
  
  <pre><code>{System.Windows.Markup.XamlParseException: **Set property 'System.Windows.FrameworkElement.Style' threw an exception.** [Line: 0 Position: 0] 
  ---&gt; System.Windows.Markup.XamlParseException: **Elements in the same ResourceDictionary cannot have the same x:Key** [Line: 1739 Position: 47]    
  at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)    
  at System.Windows.Controls.Control.GetBuiltInStyle(IntPtr nativeTarget, IntPtr&amp; nativeStyle)    
  --- End of inner exception stack trace ---    
  at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)    
  at SpellCheckerSample.StandardSpellDialog.InitializeComponent()    
  at SpellCheckerSample.StandardSpellDialog..ctor()}
  </code></pre>
  
  <p>How can I debug this? How do I know what file line 1739, Position 47 is in?</p>