<?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: PrintTask not working with proxy.ashx, 500 Error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722275#M67068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proxy.ashx is working fine with all the other requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gad, I wish PrintTask.execute() used Post instead of Get! Sticking web maps into the URL seems kinda ridiculous!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 22:49:14 GMT</pubDate>
    <dc:creator>DaveHighness1</dc:creator>
    <dc:date>2015-01-21T22:49:14Z</dc:date>
    <item>
      <title>PrintTask not working with proxy.ashx, 500 Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722274#M67067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the ArcGIS Server Javascript API PrintTask Execute with the proxy.ashx file based proxy. The PrintTask is Synchronous and often takes 30 seconds or more to complete. I am getting a 500 Error from the proxy.ashx after about 30 seconds. If I turn off a bunch of the layers and run it, it takes less than 30 seconds and completes. I have not found a way to keep the proxy.ashx from timing out. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 22:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722274#M67067</guid>
      <dc:creator>DaveHighness1</dc:creator>
      <dc:date>2015-01-21T22:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with proxy.ashx, 500 Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722275#M67068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The proxy.ashx is working fine with all the other requests.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gad, I wish PrintTask.execute() used Post instead of Get! Sticking web maps into the URL seems kinda ridiculous!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 22:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722275#M67068</guid>
      <dc:creator>DaveHighness1</dc:creator>
      <dc:date>2015-01-21T22:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: PrintTask not working with proxy.ashx, 500 Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722276#M67069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the problem. I did two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added this to the web.config of the proxy.ashx application:&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;httpRuntime executionTimeout="180"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/configuration&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This site is also behind an IIS Reverse Proxy which had a request timeout of 30 seconds. So I went to the Server Farm setting on the proxy machine and changed the proxy timeout from 30 seconds to 180 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between the two settings it now works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 18:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printtask-not-working-with-proxy-ashx-500-error/m-p/722276#M67069</guid>
      <dc:creator>DaveHighness1</dc:creator>
      <dc:date>2015-01-22T18:47:13Z</dc:date>
    </item>
  </channel>
</rss>

