<?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 Error in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error/m-p/489831#M12569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just finished a tutorial on creating my first application in silverlight using arconline services. I then tried to create the application in a new website and it stopped generating the following error. Why did I get this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the cross domain worked for the tutorial, why not when applied to a new website?&amp;nbsp; Both are made on same developer machine, using aspnet development server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "Unhandled Error in Silverlight Application A security exception occured while trying to connect to the REST endpoint. Make sure you have a cross domain policy file available at the root for your server that allows for requests from this application.&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Layer.Initialize()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.&amp;lt;&amp;gt;c__DisplayClass1a.&amp;lt;MapServiceInfoInitFailed&amp;gt;b__18()&amp;nbsp; eval code, line 1 character 1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you add the cross domain policy file to the root to a deveoper server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 17:43:19 GMT</pubDate>
    <dc:creator>RickWarner</dc:creator>
    <dc:date>2012-05-08T17:43:19Z</dc:date>
    <item>
      <title>Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error/m-p/489831#M12569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just finished a tutorial on creating my first application in silverlight using arconline services. I then tried to create the application in a new website and it stopped generating the following error. Why did I get this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the cross domain worked for the tutorial, why not when applied to a new website?&amp;nbsp; Both are made on same developer machine, using aspnet development server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "Unhandled Error in Silverlight Application A security exception occured while trying to connect to the REST endpoint. Make sure you have a cross domain policy file available at the root for your server that allows for requests from this application.&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Layer.Initialize()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.ArcGISTiledMapServiceLayer.&amp;lt;&amp;gt;c__DisplayClass1a.&amp;lt;MapServiceInfoInitFailed&amp;gt;b__18()&amp;nbsp; eval code, line 1 character 1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you add the cross domain policy file to the root to a deveoper server?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 17:43:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error/m-p/489831#M12569</guid>
      <dc:creator>RickWarner</dc:creator>
      <dc:date>2012-05-08T17:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error/m-p/489832#M12570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using online services, then it should not ask you to add crossdomain.xml, because it is already there. You can check at &lt;/SPAN&gt;&lt;A href="http://services.arcgisonline.com/crossdomain.xml"&gt;http://services.arcgisonline.com/crossdomain.xml &lt;/A&gt;&lt;SPAN&gt; . Can you post some code or maybe the URL of the services you are accessing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 21:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/error/m-p/489832#M12570</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2012-05-08T21:54:06Z</dc:date>
    </item>
  </channel>
</rss>

