<?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: Invalid URI sheme 'file://' for map control in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557824#M14346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved - Go to &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/6125293/silverlight-4-out-of-browser-unable-to-determine-the-url-to-the-xap-file-from-w"&gt;http://stackoverflow.com/questions/6125293/silverlight-4-out-of-browser-unable-to-determine-the-url-to-the-xap-file-from-w&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;In the myproject.csproj.user file, change &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;OutOfBrowserProjectToDebug&amp;gt;OldName&amp;lt;/OutOfBrowserProjectToDebug&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;OutOfBrowserProjectToDebug&amp;gt;NewName&amp;lt;/OutOfBrowserProjectToDebug&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 16:17:24 GMT</pubDate>
    <dc:creator>ShaningYu</dc:creator>
    <dc:date>2011-08-23T16:17:24Z</dc:date>
    <item>
      <title>Invalid URI sheme 'file://' for map control</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557822#M14344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I created several of project templates by using some open-source sample templates.&amp;nbsp; When I run the debugging, some of them work well, and some of them don't.&amp;nbsp; E.g., no map displays in some cases with the error message: 'Invalid URI sheme 'file://' for map control.\nControl must be hosted in a HTTP(s) websites'.&amp;nbsp; What's the possible solution for this issue?&amp;nbsp; Please share your experience.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 21:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557822#M14344</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-08-22T21:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid URI sheme 'file://' for map control</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557823#M14345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In general in normal silverlight application there are two projects: One is the Silverlight project, and the other is the website that you will be hosting your silverlight project in. The website must be the startup project. If your Silverlight project is the startup project, the page is run from a file://... URL, instead of &lt;/SPAN&gt;&lt;A href="http://."&gt;http://.&lt;/A&gt;&lt;SPAN&gt;.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Since the map control is talking to REST services hosted on HTTP(S), the silverlight application MUST run under a &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt; url. Running as file:// is considered "cross scheme" and is blocked by Silverlight for security reasons. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally when you create a new Silverlight project, you will be asked if you want to create a website to host it in. Always answer yes to this, and it should be set up automatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 13:11:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557823#M14345</guid>
      <dc:creator>RahulMetangale</dc:creator>
      <dc:date>2011-08-23T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid URI sheme 'file://' for map control</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557824#M14346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved - Go to &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/6125293/silverlight-4-out-of-browser-unable-to-determine-the-url-to-the-xap-file-from-w"&gt;http://stackoverflow.com/questions/6125293/silverlight-4-out-of-browser-unable-to-determine-the-url-to-the-xap-file-from-w&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;In the myproject.csproj.user file, change &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;OutOfBrowserProjectToDebug&amp;gt;OldName&amp;lt;/OutOfBrowserProjectToDebug&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;OutOfBrowserProjectToDebug&amp;gt;NewName&amp;lt;/OutOfBrowserProjectToDebug&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 16:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/invalid-uri-sheme-file-for-map-control/m-p/557824#M14346</guid>
      <dc:creator>ShaningYu</dc:creator>
      <dc:date>2011-08-23T16:17:24Z</dc:date>
    </item>
  </channel>
</rss>

