<?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: WebAdapter &amp;amp; CrossDomain Policy in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webadapter-amp-amp-crossdomain-policy/m-p/269195#M7021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since version 10.1, ArcGIS server communicates over port 6080 and not the standard web port 80.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the client you can either hit directly arcgis server (port 6080) or hit the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000028p000000"&gt;web adaptor&lt;/A&gt;&lt;SPAN&gt; with the port you choose during installation (generally 80).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your URL: &lt;/SPAN&gt;&lt;A href="http://abc:6080/arcgis/rest/services/VRP9/MapServer"&gt;http://abc:6080/arcgis/rest/services/VRP9/MapServer&lt;/A&gt;&lt;SPAN&gt;, it seems you are not going through the web adaptor (so &lt;/SPAN&gt;&lt;A href="http://abc/arcgis/rest/services/VRP9/MapServer"&gt;http://abc/arcgis/rest/services/VRP9/MapServer&lt;/A&gt;&lt;SPAN&gt; can't work).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll find documentation about cross domain requests to arcgis server here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000051q000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000051q000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 06:44:26 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2013-03-04T06:44:26Z</dc:date>
    <item>
      <title>WebAdapter &amp;amp; CrossDomain Policy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webadapter-amp-amp-crossdomain-policy/m-p/269194#M7020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the 3.1 SL API and ArcGIS Server 10.1 sp1 I was creating a simple SL app. Just displaying a map service. Nothing else. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Service was defined as :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;abc&lt;/STRONG&gt;&lt;SPAN&gt;/arcgis/rest/services/VRP9/MapServer"&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="ArcGISDynamicMapServiceLayer_InitializationFailed" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I ran the app I kept getting the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"A security exception occurred 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."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I check that I had the cross domain policy file at&amp;nbsp; C:\inetpub\wwwroot on the server. I then reference a 10.0 ArcGIS server map service and the map appeared. I copied the cross domain policy file from the 10.0 server to 10.1 and still got the same error. After a while I tried the following url to the 10.1 Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;abc:6080&lt;/STRONG&gt;&lt;SPAN&gt;/arcgis/rest/services/VRP9/MapServer"&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializationFailed="ArcGISDynamicMapServiceLayer_InitializationFailed" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the map appeared in my SL app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not seen any documentation on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: When I first reference the 10.1 map service without the 6080 port number I could see the map on the Design Preview pane but when I ran the app I got the error message. Also my Dev machine and the Servers are on different boxes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 23:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webadapter-amp-amp-crossdomain-policy/m-p/269194#M7020</guid>
      <dc:creator>AngelGonzalez</dc:creator>
      <dc:date>2013-02-26T23:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: WebAdapter &amp; CrossDomain Policy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webadapter-amp-amp-crossdomain-policy/m-p/269195#M7021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ESRI, Since I am using the Webadaptor on my 10.1 ArcGIS Server do I need to reference port 6080 used by the Webadaptor??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since version 10.1, ArcGIS server communicates over port 6080 and not the standard web port 80.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the client you can either hit directly arcgis server (port 6080) or hit the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000028p000000"&gt;web adaptor&lt;/A&gt;&lt;SPAN&gt; with the port you choose during installation (generally 80).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your URL: &lt;/SPAN&gt;&lt;A href="http://abc:6080/arcgis/rest/services/VRP9/MapServer"&gt;http://abc:6080/arcgis/rest/services/VRP9/MapServer&lt;/A&gt;&lt;SPAN&gt;, it seems you are not going through the web adaptor (so &lt;/SPAN&gt;&lt;A href="http://abc/arcgis/rest/services/VRP9/MapServer"&gt;http://abc/arcgis/rest/services/VRP9/MapServer&lt;/A&gt;&lt;SPAN&gt; can't work).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll find documentation about cross domain requests to arcgis server here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000051q000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01550000051q000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 06:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/webadapter-amp-amp-crossdomain-policy/m-p/269195#M7021</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-03-04T06:44:26Z</dc:date>
    </item>
  </channel>
</rss>

