<?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: Error executing print task in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219572#M6848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you see what the response from the server is using a tool like HttpFox?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 15:47:51 GMT</pubDate>
    <dc:creator>DasaPaddock</dc:creator>
    <dc:date>2012-08-15T15:47:51Z</dc:date>
    <item>
      <title>Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219571#M6847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the server 10.1 and flexviewer 3.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following error after creating my own printing service (so that I can create custom layouts):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Error executing print task: [RPC Fault faultString="Unexpected &amp;lt; encountered at location 5" faultCode="null" faultDetail="null"]&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the instructions here:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Publishing_additional_services_for_printing/00570000009s000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Publishing_additional_services_for_printing/00570000009s000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I registered my folder containing the mxds with the server manager and when i load my web app i can see all of my mxds available as options in the "Layout templates" dropdown box using the out-of-the-box print widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as I switch the &amp;lt;taskurl&amp;gt; in the printwidget.xml to use esri's service my print widget works fine...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 10:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219571#M6847</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-08-15T10:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219572#M6848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you see what the response from the server is using a tool like HttpFox?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 15:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219572#M6848</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-15T15:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219573#M6849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I installed httpfox...not exaclty sure what I am looking for..but, under POST Data it says "(This request contained no POST data)".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the line that appeared when the error appeared:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Time 100.346&amp;nbsp; Sent 2167&amp;nbsp;&amp;nbsp;&amp;nbsp; Received 974 GET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Result 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type text/html&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, here is what was under Query String:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Web_Map_as_JSON {"layoutOptions":{"authorText":"dfgsdfg","titleText":"sdfgsdfg","copyrightText":"sdfgsdfg","legendOptions":{"operationalLayers":[{"id":"LAYERS"},{"id":"ACTIVE MUN. PROJECT"},{"id":"PUBLIC SERVICE REQUEST"}]}},"mapOptions":{"extent":{"ymin":5611966.621373951,"xmin":-7245244.711364625,"spatialReference":{"wkid":102100},"ymax":5613323.378626049,"xmax":-7241585.288635375}},"exportOptions":null,"operationalLayers":[{"id":"Aerial","title":"Aerial","url":"http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"},{"id":"Aerial","title":"Aerial","url":"http://www.XXX.com/lgswebadaptor/rest/services/LIUdemoAerial/MapServer"},{"visibleLayers":[1,2,3,5,19,24],"id":"LAYERS","title":"LAYERS","url":"http://www.XXX.com/lgswebadaptor/rest/services/LIUdemoDynamic/MapServer"},{"id":"ACTIVE MUN. PROJECT","title":"ACTIVE MUN. PROJECT","opacity":0,"url":"http://www.XXX.com/lgswebadaptor/rest/services/LIUdemoEditable/FeatureServer/0"},{"id":"PUBLIC SERVICE REQUEST","title":"PUBLIC SERVICE REQUEST","opacity":0,"url":"http://www.XXX.com/lgswebadaptor/rest/services/LIUdemoEditable/FeatureServer/1"}]}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 17:17:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219573#M6849</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-08-15T17:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219574#M6850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The response should be shown in the Content tab.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 19:13:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219574#M6850</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-15T19:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219575#M6851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's what was in the Content tab:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;style type="text/css"&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #headerIMG
&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; width: 100%;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: auto;
&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; .center
&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; font-family: Arial,Verdana,arial,sans-serif;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 15px;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 70%;
&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; .errorTitle
&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; color:Navy; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:large; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-family: Arial,Verdana,arial,sans-serif;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-weight:bold;
&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; .errorLabel
&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; font-family: Arial,Verdana,arial,sans-serif;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size: 15px;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; &amp;lt;/style&amp;gt;
&amp;nbsp; &amp;lt;title&amp;gt;
 Application Error
&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;img src="/lgswebadaptor/webadaptor/header.jpeg" id="headerIMG" alt="ArcGIS Web Adaptor" longdesc="ArcGIS Web Adaptor Configuration" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p id="helpLinkElement" class="center" align="right"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a id="helpLink" href="../../../../../WebAdaptorHelp/Index.html" target="_blank"&amp;gt;Help&amp;lt;/a&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class="errorTitle"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application Error
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p class="errorLabel"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The operation has timed out
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doesn't look like this is of any help...but like I said before I'm not sure what I'm looking for...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:43:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219575#M6851</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-11T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219576#M6852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The fault "Unexpected &amp;lt; encountered at location 5" is because this is HTML coming back from the server instead of JSON so the JSON parser fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The HTML seems to be coming from the ArcGIS Web Adaptor saying "The operation has timed out".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd suggest contacting Esri Tech Support at &lt;/SPAN&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 18:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219576#M6852</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-08-16T18:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219577#M6853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got it working, after I enabled the JSON mime type on the server (Windows Server 2008R2, IIS 7) it works fine.&amp;nbsp; Here were my steps:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Open IIS Manager&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Display properties for the IIS Server&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Click MIME Types and then add the JSON extension:&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;File name extension: .json&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;MIME type: application/x-javascript&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Go back to the properties for IIS Server&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Click on Handler Mappings&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Add a script map&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Request path: *.json&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Executable: C:\WINDOWS\system32\inetsrv\asp.dll&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Name: JSON&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;By the way, being able to send a map to our own layouts is pretty great...kudos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 10:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219577#M6853</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-08-17T10:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error executing print task</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219578#M6854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;im gonna post here again in case someone else needs to know...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;turns out I was only temporarily right, adding the json mime type worked for about 5 or 6 exports and then the same error (as above) returned...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;back to the drawing board...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 15:26:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-executing-print-task/m-p/219578#M6854</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-08-17T15:26:48Z</dc:date>
    </item>
  </channel>
</rss>

