<?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 Cannot create an instance of &amp;amp;amp;quot;MapPrinter&amp;amp;amp;quot; in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231295#M5958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Below is the piece of code in the MainPage.xaml. An error occurs at the colored piece in/ bold. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;!-- Printing Window --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;userControls:WindowPanel x:Name="PrintWindow" Width="350" Grid.Row="1" Grid.Column="1" Height="450" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,100,0,0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Visibility="Collapsed" Background="{StaticResource ProjectBackground2Tone}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;StackPanel Orientation="Vertical" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;printing:MapPrinterDialog Height="410" Width="340"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;printing:MapPrinter x:Name="mapPrinter" Map="{&lt;/SPAN&gt;&lt;STRONG&gt;Binding &lt;/STRONG&gt;&lt;SPAN&gt;ElementName=Map}" IsScaleFixed="False"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/printing:MapPrinterDialog&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/StackPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;userControls:WindowPanel.ContentTitle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;TextBlock FontSize="14" Foreground="White"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Text="Print Dialog" Width="400" TextWrapping="NoWrap" Height="Auto" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; HorizontalAlignment="Left" TextAlignment="Left" Margin="5,5,5,5" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/StackPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/userControls:WindowPanel.ContentTitle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/userControls:WindowPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this project, I use the MapPrintingControls.dll (Runtime version V2.050727). The exception error message is below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not load file or assembly 'ESRI.ArcGIS.Client, Version=3.0.0.388, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.Samples.MapPrinting.MapPrinter..cctor()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to debug it? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 12:38:59 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2013-03-20T12:38:59Z</dc:date>
    <item>
      <title>Cannot create an instance of &amp;amp;quot;MapPrinter&amp;amp;quot;</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231295#M5958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Below is the piece of code in the MainPage.xaml. An error occurs at the colored piece in/ bold. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;!-- Printing Window --&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;userControls:WindowPanel x:Name="PrintWindow" Width="350" Grid.Row="1" Grid.Column="1" Height="450" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,100,0,0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Visibility="Collapsed" Background="{StaticResource ProjectBackground2Tone}"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;StackPanel Orientation="Vertical" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;printing:MapPrinterDialog Height="410" Width="340"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;printing:MapPrinter x:Name="mapPrinter" Map="{&lt;/SPAN&gt;&lt;STRONG&gt;Binding &lt;/STRONG&gt;&lt;SPAN&gt;ElementName=Map}" IsScaleFixed="False"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/printing:MapPrinterDialog&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/StackPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;userControls:WindowPanel.ContentTitle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;TextBlock FontSize="14" Foreground="White"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Text="Print Dialog" Width="400" TextWrapping="NoWrap" Height="Auto" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; HorizontalAlignment="Left" TextAlignment="Left" Margin="5,5,5,5" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/StackPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/userControls:WindowPanel.ContentTitle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/userControls:WindowPanel&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this project, I use the MapPrintingControls.dll (Runtime version V2.050727). The exception error message is below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could not load file or assembly 'ESRI.ArcGIS.Client, Version=3.0.0.388, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ESRI.ArcGIS.Client.Samples.MapPrinting.MapPrinter..cctor()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to debug it? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 12:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231295#M5958</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-03-20T12:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create an instance of "MapPrinter"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231296#M5959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you haven't referenced ESRI.ArcGIS.Client and/or&amp;nbsp; ESRI.ArcGIS.Client.Samples.MapPrinting.MapPrinter in your project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231296#M5959</guid>
      <dc:creator>JohanCarlsson</dc:creator>
      <dc:date>2013-03-20T13:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create an instance of "MapPrinter"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231297#M5960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need the ESRI.ArcGIS.Client.Samples.MapPrinting.dll.&amp;nbsp; Where can I get it?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:32:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231297#M5960</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-03-20T13:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create an instance of "MapPrinter"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231298#M5961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it is a sample you'll probably have to compile it on your own and use the resulting dll-files.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231298#M5961</guid>
      <dc:creator>JohanCarlsson</dc:creator>
      <dc:date>2013-03-20T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create an instance of "MapPrinter"</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231299#M5962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I downloaded the Sample project (ArcGISSilverlightSDK project), and then compiled.&amp;nbsp; However, no ESRI.ArcGIS.Client.Samples.dll is in the created files.&amp;nbsp; Please provide your advice how to do it if you can.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another Q related - In the MainPage.g.i.cs, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using ESRI.ArcGIS.Client.Samples.MapPrinting;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it is fine for this line of code.&amp;nbsp; In the MainPage.xaml file, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:printing="clr-namespace:ESRI.ArcGIS.Client.Samples.MapPrinting;assembly=MapPrintingControls"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But in the code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;printing:MapPrinter x:Name="mapPrinter" Map="{Binding ElementName=Map}" IsScaleFixed="False"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the error:&amp;nbsp; Cannot create an instance of "MapPrinter" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks if you can help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 17:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231299#M5962</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-03-20T17:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem solved</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231300#M5963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved.&amp;nbsp; I re-compiled the MapOrintingControls by referring updated version of the ESRI.ArcGIS.Client ESRI.ArcGIS.Client.Bing, then the problem was gone.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 20:06:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/cannot-create-an-instance-of-amp-amp-quot/m-p/231300#M5963</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2013-03-20T20:06:23Z</dc:date>
    </item>
  </channel>
</rss>

