<?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 Problems with Export Web Map Task/ESRI hosted Basemaps in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502679#M46693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my application, I am having trouble printing ESRI hosted basemaps using the Export Web Map Task on my ArcGIS Server.&amp;nbsp; In the app, I have a variety of basemaps available, some custom - hosted on my server and some from ESRI (World Topo and Imagery).&amp;nbsp; Printing only works when services from my ArcGIS Server are in the map.&amp;nbsp; If I turn on the Topo map or the Imagery map, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.: Layer \"layer0\": Unable to connect to map server at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer.\nFailed" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer.\nFailed&lt;/A&gt;&lt;SPAN&gt; to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above error shows an issue with the World_Topo_Map, but the same problem occurs with the Imagery map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I assumed this was a proxy issue - the first time I saw this, I wasn't using a proxy in my app.&amp;nbsp; I have since set up a proxy page (I think correctly) but still get the same exact error when printing hosted services from services.arcgisonline.com.&amp;nbsp; Below is the request URL generated, proving that the proxy is being used.&amp;nbsp; The error is identical to the error above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?f=json&amp;amp;Web_Map_as_JSON=%7B%22mapOptions%22%3A%7B%22showAttribution%22%3Atrue%2C%22extent%22%3A%7B%22xmin%22%3A-9202736.9389044%2C%22ymin%22%3A4969367.159087695%2C%22xmax%22%3A-9033352.484224387%2C%22ymax%22%3A5101603.2180211%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%2C%22scale%22%3A%22scaleNumber%22%7D%2C%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer0%22%2C%22title%22%3A%22layer0%22%2C%22opacity%22%3A1%2C%22minScale%22%3A591657527.591555%2C%22maxScale%22%3A1128.497176%2C%22url%22%3A%22http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%22%7D%2C%7B%22id%22%3A%22layer3%22%2C%22title%22%3A%22layer3%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22url%22%3A%22http%3A%2F%2Fsummitmaps.summitoh.net%2Farcgis%2Frest%2Fservices%2FDOES_Mercator%2FMapServer%2F%22%7D%2C%7B%22id%22%3A%22map_graphics%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22featureCollection%22%3A%7B%22layers%22%3A%5B%5D%7D%7D%5D%2C%22exportOptions%22%3A%7B%22outputSize%22%3A%5B800%2C1100%5D%2C%22dpi%22%3A96%7D%2C%22layoutOptions%22%3A%7B%22titleText%22%3A%22Pool%20Permits%22%2C%22authorText%22%3A%22Made%20by%3A%20%20Esri%27s%20JS%20API%20Team%22%2C%22copyrightText%22%3A%22%3Ccopyright%20info%20here%3E%22%2C%22scaleBarOptions%22%3A%7B%22metricUnit%22%3A%22esriKilometers%22%2C%22metricLabel%22%3A%22km%22%2C%22nonMetricUnit%22%3A%22esriMiles%22%2C%22nonMetricLabel%22%3A%22mi%22%7D%2C%22legendOptions%22%3A%7B%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer3%22%2C%22subLayerIds%22%3A%5B0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%5D%7D%5D%7D%7D%7D&amp;amp;Format=PDF&amp;amp;Layout_Template=A3%20Landscape" title="http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?f=json&amp;amp;Web_Map_as_JSON=%7B%22mapOptions%22%3A%7B%22showAttribution%22%3Atrue%2C%22extent%22%3A%7B%22xmin%22%3A-9202736.9389044%2C%22ymin%22%3A4969367.159087695%2C%22xmax%22%3A-9033352.484224387%2C%22ymax%22%3A5101603.2180211%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%2C%22scale%22%3A%22scaleNumber%22%7D%2C%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer0%22%2C%22title%22%3A%22layer0%22%2C%22opacity%22%3A1%2C%22minScale%22%3A591657527.591555%2C%22maxScale%22%3A1128.497176%2C%22url%22%3A%22http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%22%7D%2C%7B%22id%22%3A%22layer3%22%2C%22title%22%3A%22layer3%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22url%22%3A%22http%3A%2F%2Fsummitmaps.summitoh.net%2Farcgis%2Frest%2Fservices%2FDOES_Mercator%2FMapServer%2F%22%7D%2C%7B%22id%22%3A%22map_graphics%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22featureCollection%22%3A%7B%22layers%22%3A%5B%5D%7D%7D%5D%2C%22exportOptions%22%3A%7B%22outputSize%22%3A%5B800%2C1100%5D%2C%22dpi%22%3A96%7D%2C%22layoutOptions%22%3A%7B%22titleText%22%3A%22Pool%20Permits%22%2C%22authorText%22%3A%22Made%20by%3A%20%20Esri%27s%20JS%20API%20Team%22%2C%22copyrightText%22%3A%22%3Ccopyright%20info%20here%3E%22%2C%22scaleBarOptions%22%3A%7B%22metricUnit%22%3A%22esriKilometers%22%2C%22metricLabel%22%3A%22km%22%2C%22nonMetricUnit%22%3A%22esriMiles%22%2C%22nonMetricLabel%22%3A%22mi%22%7D%2C%22legendOptions%22%3A%7B%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer3%22%2C%22subLayerIds%22%3A%5B0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%5D%7D%5D%7D%7D%7D&amp;amp;Format=PDF&amp;amp;Layout_Template=A3%20Landscape"&gt;http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTo…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the forums for a while and couldn't find much related to the issue I am having.&amp;nbsp; Does anyone have any ideas as to what's going on here?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2014 14:40:13 GMT</pubDate>
    <dc:creator>RyanSellman</dc:creator>
    <dc:date>2014-11-21T14:40:13Z</dc:date>
    <item>
      <title>Problems with Export Web Map Task/ESRI hosted Basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502679#M46693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my application, I am having trouble printing ESRI hosted basemaps using the Export Web Map Task on my ArcGIS Server.&amp;nbsp; In the app, I have a variety of basemaps available, some custom - hosted on my server and some from ESRI (World Topo and Imagery).&amp;nbsp; Printing only works when services from my ArcGIS Server are in the map.&amp;nbsp; If I turn on the Topo map or the Imagery map, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{"error":{"code":400,"message":"Unable to complete operation.","details":["Error executing tool.: Layer \"layer0\": Unable to connect to map server at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer.\nFailed" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer.\nFailed&lt;/A&gt;&lt;SPAN&gt; to execute (Export Web Map).\nFailed to execute (Export Web Map Task)."]}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above error shows an issue with the World_Topo_Map, but the same problem occurs with the Imagery map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I assumed this was a proxy issue - the first time I saw this, I wasn't using a proxy in my app.&amp;nbsp; I have since set up a proxy page (I think correctly) but still get the same exact error when printing hosted services from services.arcgisonline.com.&amp;nbsp; Below is the request URL generated, proving that the proxy is being used.&amp;nbsp; The error is identical to the error above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?f=json&amp;amp;Web_Map_as_JSON=%7B%22mapOptions%22%3A%7B%22showAttribution%22%3Atrue%2C%22extent%22%3A%7B%22xmin%22%3A-9202736.9389044%2C%22ymin%22%3A4969367.159087695%2C%22xmax%22%3A-9033352.484224387%2C%22ymax%22%3A5101603.2180211%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%2C%22scale%22%3A%22scaleNumber%22%7D%2C%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer0%22%2C%22title%22%3A%22layer0%22%2C%22opacity%22%3A1%2C%22minScale%22%3A591657527.591555%2C%22maxScale%22%3A1128.497176%2C%22url%22%3A%22http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%22%7D%2C%7B%22id%22%3A%22layer3%22%2C%22title%22%3A%22layer3%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22url%22%3A%22http%3A%2F%2Fsummitmaps.summitoh.net%2Farcgis%2Frest%2Fservices%2FDOES_Mercator%2FMapServer%2F%22%7D%2C%7B%22id%22%3A%22map_graphics%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22featureCollection%22%3A%7B%22layers%22%3A%5B%5D%7D%7D%5D%2C%22exportOptions%22%3A%7B%22outputSize%22%3A%5B800%2C1100%5D%2C%22dpi%22%3A96%7D%2C%22layoutOptions%22%3A%7B%22titleText%22%3A%22Pool%20Permits%22%2C%22authorText%22%3A%22Made%20by%3A%20%20Esri%27s%20JS%20API%20Team%22%2C%22copyrightText%22%3A%22%3Ccopyright%20info%20here%3E%22%2C%22scaleBarOptions%22%3A%7B%22metricUnit%22%3A%22esriKilometers%22%2C%22metricLabel%22%3A%22km%22%2C%22nonMetricUnit%22%3A%22esriMiles%22%2C%22nonMetricLabel%22%3A%22mi%22%7D%2C%22legendOptions%22%3A%7B%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer3%22%2C%22subLayerIds%22%3A%5B0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%5D%7D%5D%7D%7D%7D&amp;amp;Format=PDF&amp;amp;Layout_Template=A3%20Landscape" title="http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?f=json&amp;amp;Web_Map_as_JSON=%7B%22mapOptions%22%3A%7B%22showAttribution%22%3Atrue%2C%22extent%22%3A%7B%22xmin%22%3A-9202736.9389044%2C%22ymin%22%3A4969367.159087695%2C%22xmax%22%3A-9033352.484224387%2C%22ymax%22%3A5101603.2180211%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%7D%2C%22spatialReference%22%3A%7B%22wkid%22%3A102100%2C%22latestWkid%22%3A3857%7D%2C%22scale%22%3A%22scaleNumber%22%7D%2C%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer0%22%2C%22title%22%3A%22layer0%22%2C%22opacity%22%3A1%2C%22minScale%22%3A591657527.591555%2C%22maxScale%22%3A1128.497176%2C%22url%22%3A%22http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%22%7D%2C%7B%22id%22%3A%22layer3%22%2C%22title%22%3A%22layer3%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22url%22%3A%22http%3A%2F%2Fsummitmaps.summitoh.net%2Farcgis%2Frest%2Fservices%2FDOES_Mercator%2FMapServer%2F%22%7D%2C%7B%22id%22%3A%22map_graphics%22%2C%22opacity%22%3A1%2C%22minScale%22%3A0%2C%22maxScale%22%3A0%2C%22featureCollection%22%3A%7B%22layers%22%3A%5B%5D%7D%7D%5D%2C%22exportOptions%22%3A%7B%22outputSize%22%3A%5B800%2C1100%5D%2C%22dpi%22%3A96%7D%2C%22layoutOptions%22%3A%7B%22titleText%22%3A%22Pool%20Permits%22%2C%22authorText%22%3A%22Made%20by%3A%20%20Esri%27s%20JS%20API%20Team%22%2C%22copyrightText%22%3A%22%3Ccopyright%20info%20here%3E%22%2C%22scaleBarOptions%22%3A%7B%22metricUnit%22%3A%22esriKilometers%22%2C%22metricLabel%22%3A%22km%22%2C%22nonMetricUnit%22%3A%22esriMiles%22%2C%22nonMetricLabel%22%3A%22mi%22%7D%2C%22legendOptions%22%3A%7B%22operationalLayers%22%3A%5B%7B%22id%22%3A%22layer3%22%2C%22subLayerIds%22%3A%5B0%2C1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%5D%7D%5D%7D%7D%7D&amp;amp;Format=PDF&amp;amp;Layout_Template=A3%20Landscape"&gt;http://summitmaps.summitoh.net/proxy/proxy.ashx?http://summitmaps.summitoh.net/arcgis/rest/services/Utilities/PrintingTo…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the forums for a while and couldn't find much related to the issue I am having.&amp;nbsp; Does anyone have any ideas as to what's going on here?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:40:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502679#M46693</guid>
      <dc:creator>RyanSellman</dc:creator>
      <dc:date>2014-11-21T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Export Web Map Task/ESRI hosted Basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502680#M46694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you solve this problem? The url you shared seems to work now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem with the Export Web Map Task. Do you know how to resolve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 21:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502680#M46694</guid>
      <dc:creator>OkanBasegmez1</dc:creator>
      <dc:date>2014-12-03T21:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Export Web Map Task/ESRI hosted Basemaps</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502681#M46695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're right, I do have things working again, but I can't take credit.&amp;nbsp; I haven't done anything with my ArcGIS Server, but the issue has gone away.&amp;nbsp; Not sure what changed but I am not convinced I won't see the issue again.&amp;nbsp; I will continue to research.&amp;nbsp; Sorry I am of no help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 19:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-export-web-map-task-esri-hosted/m-p/502681#M46695</guid>
      <dc:creator>RyanSellman</dc:creator>
      <dc:date>2014-12-05T19:50:27Z</dc:date>
    </item>
  </channel>
</rss>

