<?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: ArcGIS 10.0 sp1 and Silverlight API 2.0-2.1 Exception in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501713#M12848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll try to get it fixed ASAP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2011 12:55:36 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-03-31T12:55:36Z</dc:date>
    <item>
      <title>ArcGIS 10.0 sp1 and Silverlight API 2.0-2.1 Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501712#M12847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed SP1 for ArcGIS 10 and now I am getting exception in my Silverlight API if ArcGIS Dynamic Layer url is invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception is handled in Application.UnhandledException:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
System.NullReferenceException: Object reference not set to an instance of an object.
&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer.MapServiceInfoInitialized(Object sender, MapServiceInitalizeArgs args)
&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Services.MapService.OnInitialized(MapServiceInitalizeArgs args)
&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Services.MapService.wc_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
&amp;nbsp;&amp;nbsp; at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
&amp;nbsp;&amp;nbsp; at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Difference in response in 10 and 10 with SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;10:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Service 'M' of type 'MapServer' does not exist or is inaccessible."]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10 with SP1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"currentVersion":10.01,"error":{"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["Service 'M' of type 'MapServer' does not exist or is inaccessible."]}}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like Silverlight API do not understand 10 with SP1 response as error, trying to to use this response as success and gets NullReferenceException as this response does not contains some required attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot just handle this like error, as I am waiting Layer.Initialized event in app logic (and it is not fired in this case).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone knows how to fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Software: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.0 with SP1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Silverlight API 2.0 and 2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vasyl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 09:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501712#M12847</guid>
      <dc:creator>VasylMelnychuk</dc:creator>
      <dc:date>2011-03-31T09:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.0 sp1 and Silverlight API 2.0-2.1 Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501713#M12848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll try to get it fixed ASAP.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2011 12:55:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501713#M12848</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-31T12:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.0 sp1 and Silverlight API 2.0-2.1 Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501714#M12849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Im using flex api to view arcGISServer 10 map services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I handled this error too on flex application. But I understand this error fires when the server instance creation firstly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you make thats you can understand some things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Go to the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://hostName/ArcGIS/rest/services/SampleServer/MapServer?f=jsapi" rel="nofollow" target="_blank"&gt;http://hostName/ArcGIS/rest/services/SampleServer/MapServer?f=jsapi&lt;/A&gt;&lt;SPAN&gt; on an internet browser and add the same service to the silverlight or flex map . Then you will see this error doesnt fires again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 10:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501714#M12849</guid>
      <dc:creator>İsmailZAMBAKCI</dc:creator>
      <dc:date>2011-05-25T10:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS 10.0 sp1 and Silverlight API 2.0-2.1 Exception</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501715#M12850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for reporting that.&lt;BR /&gt;We'll try to get it fixed ASAP.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That will be fixed in 2.2 final, i.e. this kind of response will fire 'InitializationFailed' event.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 10:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/arcgis-10-0-sp1-and-silverlight-api-2-0-2-1/m-p/501715#M12850</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-05-25T10:37:07Z</dc:date>
    </item>
  </channel>
</rss>

