<?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: Javascript sample viewer - Print task error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28749#M2450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regarding your question "Can anyone give me guide to check how to test proxy is working properly". You can open a browser, type in the URL "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://host/proxy.ashx?your_print_service_url" rel="nofollow" target="_blank"&gt;http://host/proxy.ashx?your_print_service_url&lt;/A&gt;&lt;SPAN&gt;" to see if the print service rest end point shows up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 22:48:49 GMT</pubDate>
    <dc:creator>JianHuang</dc:creator>
    <dc:date>2014-01-15T22:48:49Z</dc:date>
    <item>
      <title>Javascript sample viewer - Print task error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28748#M2449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have downloaded the JavaScript sample viewer application and I was trying to customizing the print task with our organisation own service to create print web maps. when I use the default print service below&amp;nbsp; from ArcGIS online&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" rel="nofollow" target="_blank"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it works perfectly fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I change the printurl property to own print service, it doesn't work. It comes up with error message saying request time exceeded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am wondering it might due the proxy settings on my application . Although I followed the procedure as per JavaScript api references proxy settings user guide,&amp;nbsp; and changed the&amp;nbsp; config proxyUrl Property in the index.html to : "/proxy/proxy.ashx"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then in the common.config.js file - changed printTask url property:"to my own print service"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though setting all the proxy, it comes with request time exceeded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just wanted to ask is there any better way to check whether we implemented on the webserver is communicating well with the application. Can anyone give me guide to check how to test proxy is working properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ganesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 21:06:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28748#M2449</guid>
      <dc:creator>GaneshSolai_Sambandam</dc:creator>
      <dc:date>2014-01-15T21:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript sample viewer - Print task error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28749#M2450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;Regarding your question "Can anyone give me guide to check how to test proxy is working properly". You can open a browser, type in the URL "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://host/proxy.ashx?your_print_service_url" rel="nofollow" target="_blank"&gt;http://host/proxy.ashx?your_print_service_url&lt;/A&gt;&lt;SPAN&gt;" to see if the print service rest end point shows up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 22:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28749#M2450</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2014-01-15T22:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript sample viewer - Print task error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28750#M2451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Regarding your question "Can anyone give me guide to check how to test proxy is working properly". You can open a browser, type in the URL "http://host/proxy.ashx?your_print_service_url" to see if the print service rest end point shows up.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jian&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for reply. But, just wanted to ask, the url format you provided has "host", is this hostname or localhost&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or the name of the machine. or host is default for all computers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this may be silly question, but wanted to be clear. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ganesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28750#M2451</guid>
      <dc:creator>GaneshSolai_Sambandam</dc:creator>
      <dc:date>2014-01-16T11:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript sample viewer - Print task error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28751#M2452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jian&lt;BR /&gt;Thank you very much for reply. But, just wanted to ask, the url format you provided has "host", is this hostname or localhost&lt;BR /&gt;or the name of the machine. or host is default for all computers. &lt;BR /&gt;this may be silly question, but wanted to be clear. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ganesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jian&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried with&amp;nbsp; localhost instead of host, &lt;/SPAN&gt;&lt;A href="http://localhost/proxy/proxy.ashx?yourprintserviceurl"&gt;http://localhost/proxy/proxy.ashx?yourprintserviceurl&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and I am getting the following error from the browser. From the error message, it says proxy.config file is not found, although I have installed the proxy in the C:\inetpub\wwwroot\proxy, where it has proxy.ashx and proxy.config files. Any idea why it is causing problem please. The other possibility is that, since my application runs from visual studio, it is using the Asp.net built in web server and I am not sure to check whether it is running from IIS or ASP.net server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use host, &lt;/SPAN&gt;&lt;A href="http://host/proxy/proxy.ashx?yourprintserviceurl"&gt;http://host/proxy/proxy.ashx?yourprintserviceurl&lt;/A&gt;&lt;SPAN&gt;, the browser ask me to check the host correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy.config file does not exist at application root, or is not readable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Exception Details: System.ApplicationException: Proxy.config file does not exist at application root, or is not readable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Source Error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add a "Debug=true" directive at the top of the file that generated the error. Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;%@ Page Language="C#" Debug="true" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Add the following section to the configuration file of your application:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;configuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compilation debug="true"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/configuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stack Trace: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ApplicationException: Proxy.config file does not exist at application root, or is not readable.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; proxy.getTokenFromConfigFile(String uri) +503&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; proxy.ProcessRequest(HttpContext context) +140&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +165&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Please help....................&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ganesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 18:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28751#M2452</guid>
      <dc:creator>GaneshSolai_Sambandam</dc:creator>
      <dc:date>2014-01-16T18:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript sample viewer - Print task error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28752#M2453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Jian&lt;BR /&gt;I tried with&amp;nbsp; localhost instead of host, &lt;A href="http://localhost/proxy/proxy.ashx?yourprintserviceurl"&gt;http://localhost/proxy/proxy.ashx?yourprintserviceurl&lt;/A&gt;&lt;BR /&gt;and I am getting the following error from the browser. From the error message, it says proxy.config file is not found, although I have installed the proxy in the C:\inetpub\wwwroot\proxy, where it has proxy.ashx and proxy.config files. Any idea why it is causing problem please. The other possibility is that, since my application runs from visual studio, it is using the Asp.net built in web server and I am not sure to check whether it is running from IIS or ASP.net server.&lt;BR /&gt;If I use host, &lt;A href="http://host/proxy/proxy.ashx?yourprintserviceurl"&gt;http://host/proxy/proxy.ashx?yourprintserviceurl&lt;/A&gt;, the browser ask me to check the host correctly. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Proxy.config file does not exist at application root, or is not readable. &lt;BR /&gt;&amp;nbsp; Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR /&gt;&lt;BR /&gt; Exception Details: System.ApplicationException: Proxy.config file does not exist at application root, or is not readable.&lt;BR /&gt;&lt;BR /&gt;Source Error: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:&lt;BR /&gt;&lt;BR /&gt;1. Add a "Debug=true" directive at the top of the file that generated the error. Example:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;%@ Page Language="C#" Debug="true" %&amp;gt;&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;&lt;BR /&gt;2) Add the following section to the configuration file of your application:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compilation debug="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;BR /&gt;&lt;BR /&gt; Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.&lt;BR /&gt;&lt;BR /&gt;Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Stack Trace: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[ApplicationException: Proxy.config file does not exist at application root, or is not readable.]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; proxy.getTokenFromConfigFile(String uri) +503&lt;BR /&gt;&amp;nbsp;&amp;nbsp; proxy.ProcessRequest(HttpContext context) +140&lt;BR /&gt;&amp;nbsp;&amp;nbsp; System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913&lt;BR /&gt;&amp;nbsp;&amp;nbsp; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +165&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; Please help....................&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ganesh&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help on this please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ganesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 08:25:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-sample-viewer-print-task-error/m-p/28752#M2453</guid>
      <dc:creator>GaneshSolai_Sambandam</dc:creator>
      <dc:date>2014-01-22T08:25:51Z</dc:date>
    </item>
  </channel>
</rss>

