<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error: Cannot create an instance of xxx in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28413#M747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's likely an error in the XAML part of your GraphComparison user control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Feb 2012 09:36:02 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2012-02-01T09:36:02Z</dc:date>
    <item>
      <title>Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28412#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In one of the xaml file, received such an error at the line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userControls:GraphComparison x:Name="GraphComp"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 114 Cannot create an instance of "GraphComparison". C:\...\Views\CompareCycles.xaml 270 13&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The detail shows that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cannot find a Resource with the Name/Key CommonBorder [Line: 10 Position: 44]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at xxx.UserControls.GraphComparison.InitializeComponent() in C:\...\obj\Debug\UserControls\GraphComparison.g.i.cs:line 60&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at xxx.UserControls.GraphComparison..ctor() in C:\...\UserControls\GraphComparison.xaml.cs:line 20&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I did declare:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:userControls="clr-namespace:npsNavSL.UserControls"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and found nothing wrong.&amp;nbsp; Wish can get someone's hint for this bug.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 18:38:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28412#M746</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-01-31T18:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28413#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's likely an error in the XAML part of your GraphComparison user control.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2012 09:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28413#M747</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-02-01T09:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28414#M748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The GraphComparison.xmal displays well.&amp;nbsp; In the xaml page that loads the GraphComparison.xaml shows the error message in the 1st post of this thread.&amp;nbsp; How to debug it?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 16:42:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28414#M748</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-02-02T16:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28415#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can check that when you type "&amp;lt;userControls:" in XAML, GraphicSource is shown in the intellisense. If it can't find it then maybe the XAML namespace declaration could be wrong. Another way to check is to put a break point on GraphicSource class, to see if it comes through there. Check the class namespace is the same as what you define for xmlns:userControls="...".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2012 22:02:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28415#M749</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-02-02T22:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28416#M750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I&amp;nbsp; typed "&amp;lt;userControls:" in XAML, GraphicSource is shown in the intellisense (see the image attached).&amp;nbsp; What other approaches can be used for the debug?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 11:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28416#M750</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-02-06T11:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Cannot create an instance of xxx</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28417#M751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please check...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; If it can't find it then maybe the&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:&amp;quot;#FF0000&amp;quot;;"&gt;XAML namespace declaration could be wrong&lt;/SPAN&gt;. Another way to check is to put a break point on GraphicSource class, to see if it comes through there. Check the class namespace is the same as what you define for xmlns:userControls="...". &lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2012 18:23:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-cannot-create-an-instance-of-xxx/m-p/28417#M751</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-02-06T18:23:46Z</dc:date>
    </item>
  </channel>
</rss>

