<?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: Control_TargetTypeMismatch in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531569#M13644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I loaded another SL project (termed Proj B)&amp;nbsp; that was compiled on my personal laptop.&amp;nbsp; This project was re-compiled well on my company's CPU.&amp;nbsp; However the SL project (termed Proj A) gets the problem as shown above.&amp;nbsp; I compared both References and codes, and found no difference actually.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something is strange.&amp;nbsp; Even though the Designers can be drawn on VS, the project compiled "successfully".&amp;nbsp; If I run debug, all of the pages display correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish ESRI support team can answer my Q.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 16:01:06 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2012-01-30T16:01:06Z</dc:date>
    <item>
      <title>Error: Control_TargetTypeMismatch</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531568#M13643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After updated one of the SL projects from API 2.0 to 2.4, received such an error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 91 [Control_TargetTypeMismatch]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arguments: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://go.microsoft.com/fwlink/?linkid=106663&amp;amp;Version=4.0.60831.0&amp;amp;File=System.Windows.dll&amp;amp;Key=Control_TargetTypeMismatch" rel="nofollow" target="_blank"&gt;http://go.microsoft.com/fwlink/?linkid=106663&amp;amp;Version=4.0.60831.0&amp;amp;File=System.Windows.dll&amp;amp;Key=Control_TargetTypeMismatch&lt;/A&gt;&lt;SPAN&gt; ......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The hyperlink provided does not work.&amp;nbsp; The Designer can't be loaded even though the solution is compiled.&amp;nbsp; The code related is below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="map" MouseClick="map_MouseClick" Extent="{StaticResource ExtentLower48}"&lt;/SPAN&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; ExtentChanged="map_ExtentChanged" SizeChanged="map_SizeChanged"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="BaseLayer" Url="{StaticResource StreetsLayerUrl}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISDynamicMapServiceLayer ID="ArraLayer" Initialized="ArraLayer_Initialized"&lt;/SPAN&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; Url="{StaticResource ArraLayerUrl}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:GraphicsLayer ID="MapGraphicsLayer" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What measure should I make to solve this problem?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 14:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531568#M13643</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-01-30T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Control_TargetTypeMismatch</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531569#M13644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I loaded another SL project (termed Proj B)&amp;nbsp; that was compiled on my personal laptop.&amp;nbsp; This project was re-compiled well on my company's CPU.&amp;nbsp; However the SL project (termed Proj A) gets the problem as shown above.&amp;nbsp; I compared both References and codes, and found no difference actually.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something is strange.&amp;nbsp; Even though the Designers can be drawn on VS, the project compiled "successfully".&amp;nbsp; If I run debug, all of the pages display correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wish ESRI support team can answer my Q.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 16:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531569#M13644</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-01-30T16:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Control_TargetTypeMismatch</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531570#M13645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I wish ESRI support team can answer my Q. Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that this is not an ESRI support page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is just a forum where users and sometimes ESRI staff help out. If you have any specific need, you are very welcome to contact the ESRI Support Hotline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said, your issue is very likely coming from dll versions mismatch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - In your project, remove the references to any ESRI dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Clear your solution&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Exit Visual Studio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Remove bin, obj and ClientBin directories&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Open again Visual Studio&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Add your ESRI references&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Double check that the versions of the referenced dlls are right&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; - Try again to compile&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure all steps are useful, but in the doubt....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 06:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531570#M13645</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-01-31T06:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Control_TargetTypeMismatch</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531571#M13646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the procedure you provided, the errors were gone.&amp;nbsp; Thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2012 12:37:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error-control-targettypemismatch/m-p/531571#M13646</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2012-01-31T12:37:26Z</dc:date>
    </item>
  </channel>
</rss>

