<?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: IIS CORS Access-Control-Allow-Origin' header contains multiple values in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172805#M77273</link>
    <description>&lt;P&gt;Ah, you can't fix this via your server then. The origin server has deliberately disabled CORS or only has certain allows. You can try to write a proxy server for this. The crossorigin.me dev site publishes their source code and you can try to use that as a base for your own.&amp;nbsp;&lt;A href="https://github.com/corihudson/crossorigin.me" target="_blank"&gt;https://github.com/corihudson/crossorigin.me&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 14:11:53 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2022-05-11T14:11:53Z</dc:date>
    <item>
      <title>IIS CORS Access-Control-Allow-Origin' header contains multiple values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172366#M77257</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Again, i am about CORS issue.&lt;/P&gt;&lt;P&gt;I sue IIS for my web map.&lt;/P&gt;&lt;P&gt;So, in my map i sue wms service from another server, that's why i get CORS issue. When i use CORS extension on chrome, i can use this service without problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I looked around in google, in stack, but could not find decision of this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In web.config i have added:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
    &amp;lt;system.webServer&amp;gt;
        &amp;lt;httpProtocol allowKeepAlive="false"&amp;gt;
            &amp;lt;customHeaders&amp;gt;
              &amp;lt;clear /&amp;gt;
                &amp;lt;add name="Access-Control-Allow-Origin" value="*" /&amp;gt;
                &amp;lt;add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, HEAD, OPTIONS" /&amp;gt;
                &amp;lt;add name="Access-Control-Allow-Headers" value="*" /&amp;gt;
            &amp;lt;/customHeaders&amp;gt;
        &amp;lt;/httpProtocol&amp;gt;
    &amp;lt;/system.webServer&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but no result, still&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;Access-Control-Allow-Origin' header contains multiple values.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My map is in&lt;STRONG&gt; Default web Site &lt;/STRONG&gt;folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used proxy, but it did&amp;nbsp; not help.&lt;/P&gt;&lt;P&gt;Any ideas how it could be fixed?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 12:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172366#M77257</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2022-05-10T12:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: IIS CORS Access-Control-Allow-Origin' header contains multiple values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172423#M77261</link>
      <description>&lt;P&gt;edit - Is this on the server you are trying to get the WMS from?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 18:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172423#M77261</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-05-10T18:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: IIS CORS Access-Control-Allow-Origin' header contains multiple values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172527#M77264</link>
      <description>&lt;P&gt;The CORS extension on Chrome has helped me too. Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 18:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172527#M77264</guid>
      <dc:creator>AdrianaPaese</dc:creator>
      <dc:date>2022-05-10T18:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: IIS CORS Access-Control-Allow-Origin' header contains multiple values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172679#M77271</link>
      <description>&lt;P&gt;WMS is outsource, it is on another server and i have no access on it to change CORS options.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 06:26:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172679#M77271</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2022-05-11T06:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: IIS CORS Access-Control-Allow-Origin' header contains multiple values</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172805#M77273</link>
      <description>&lt;P&gt;Ah, you can't fix this via your server then. The origin server has deliberately disabled CORS or only has certain allows. You can try to write a proxy server for this. The crossorigin.me dev site publishes their source code and you can try to use that as a base for your own.&amp;nbsp;&lt;A href="https://github.com/corihudson/crossorigin.me" target="_blank"&gt;https://github.com/corihudson/crossorigin.me&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 14:11:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/iis-cors-access-control-allow-origin-header/m-p/1172805#M77273</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-05-11T14:11:53Z</dc:date>
    </item>
  </channel>
</rss>

