<?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 Custom Print Problem in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667728#M19650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I'm looking for some help with printing using custom layouts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have published my printing service, loaded the print widget in App Builder and set it to use arcServer to print using the following URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map" rel="nofollow" target="_blank"&gt;https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service reads in ok and allows me to set the default format and my custom layout template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem comes when I open the print widget in my flex app e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/flexviewers/myviewer" rel="nofollow" target="_blank"&gt;https://mywebserver/flexviewers/myviewer&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I immediatedly get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to connect to GP Service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map" rel="nofollow" target="_blank"&gt;https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Server is missing a crossdomain file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTPS"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using a setup as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows Domain User Store&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGisServer Builtin Role Store &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Web Tier Authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Despite the error message, there is a crossdomain file at D:\ArcGIS\Server\framework\runtime\tomcat\contexts\rootapp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which reads as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;lt;cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;allow-access-from domain="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;allow-http-request-headers-from domain="*" headers="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All my other services are working and accessible and the server has access rights to the folder with my custom layouts in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 14:28:31 GMT</pubDate>
    <dc:creator>RebeccaWatson</dc:creator>
    <dc:date>2013-08-30T14:28:31Z</dc:date>
    <item>
      <title>Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667728#M19650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, I'm looking for some help with printing using custom layouts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have published my printing service, loaded the print widget in App Builder and set it to use arcServer to print using the following URL&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map" rel="nofollow" target="_blank"&gt;https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The service reads in ok and allows me to set the default format and my custom layout template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem comes when I open the print widget in my flex app e.g. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/flexviewers/myviewer" rel="nofollow" target="_blank"&gt;https://mywebserver/flexviewers/myviewer&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I immediatedly get the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to connect to GP Service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map" rel="nofollow" target="_blank"&gt;https://mywebserver/arcgis/rest/services/ServiceHolder/CustomPrint/GPServer/Export%20Web%20Map&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Server is missing a crossdomain file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTPS"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using a setup as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows Domain User Store&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGisServer Builtin Role Store &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Web Tier Authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Despite the error message, there is a crossdomain file at D:\ArcGIS\Server\framework\runtime\tomcat\contexts\rootapp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;which reads as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;lt;cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;allow-access-from domain="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;allow-http-request-headers-from domain="*" headers="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All my other services are working and accessible and the server has access rights to the folder with my custom layouts in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 14:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667728#M19650</guid>
      <dc:creator>RebeccaWatson</dc:creator>
      <dc:date>2013-08-30T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667729#M19651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have now got the tool to initialise - I was copying and pasting the url for the service from the webserver and it was missing part of the url. However, now I run the tool and just get a message EsriJobFailed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how I can find the nature of the failure? Or does anyone know of any reasons why it might fail?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 07:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667729#M19651</guid>
      <dc:creator>RebeccaWatson</dc:creator>
      <dc:date>2013-09-02T07:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667730#M19652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just discovered a little tip on another post. If you change the printwidget.xml so that the taskurl is changed to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;taskurl&amp;gt;&lt;/SPAN&gt;&lt;A href="https://mywebserver/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export"&gt;https://mywebserver/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export&lt;/A&gt;&lt;SPAN&gt; Web Map Task&amp;lt;/taskurl&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then you get a much more detailed error message. In my case I am getting&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error code 403 User does not have permissions to access 'folder/mymapservice'. Access to the resouce is forbidden, regardless of authorization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now I need to research this error and see what I get...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667730#M19652</guid>
      <dc:creator>RebeccaWatson</dc:creator>
      <dc:date>2013-09-02T11:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667731#M19653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check to make sure that the ArcGIS Server Account is able to access c:\arcgisserver. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right click the folder ---&amp;gt; properties --&amp;gt; security tab&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the user is not listed, add it and click ok.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 17:39:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667731#M19653</guid>
      <dc:creator>Cotter</dc:creator>
      <dc:date>2013-09-03T17:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667732#M19654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"Check to make sure that the ArcGIS Server (AGS) Account is able to access c:\arcgisserver."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is if you went with the default configuration.&amp;nbsp; If you pointed ArcGIS Server to use another drive such as an E-drive, then you want to make sure AGS has access to that location.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 18:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667732#M19654</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-09-03T18:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667733#M19655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for this. I have checked the arcgisserver folder and the server user has full control. I have just noticed some more errors that show up when I load my application. For each operational layer I get the following two errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unable to process request. Error handling service request : java.io.IOException: Server object extension 'featureserver' not found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instance of service 'MyMapLayers/MyLayer.MapServer' failed to process a request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, as mentioned before, when I try to run the tool, I get the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "MyLayer1": Unable to connect to map server at &lt;/SPAN&gt;&lt;A href="https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer1/MapServer"&gt;https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer1/MapServer&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "MyLayer2": Unable to connect to map server at &lt;/SPAN&gt;&lt;A href="https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer2/MapServer"&gt;https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer2/MapServer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "MyLayer3": Unable to connect to map server at &lt;/SPAN&gt;&lt;A href="https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer3/MapServer"&gt;https://mywebserver/arcgis/rest/services/MyMapLayers/MyLayer3/MapServer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR: code:403, User does not have permissions to access 'MyMapLayers/MyLayer3.mapserver'., Access to this resource is forbidden, regardless of authorization. Failed to execute (ExportWebMap). Failed to execute (Export Web Map).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The last Error code 403 bit is not specific to MyLayer3, if I take that layer out, it just picks another of the layers and gives that as the Error code 403.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure whether the two sets of errors are related because I only get the first two on operational layers, but the tool error refers to basemap and operational layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 08:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667733#M19655</guid>
      <dc:creator>RebeccaWatson</dc:creator>
      <dc:date>2013-09-05T08:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Print Problem</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667734#M19656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have solved my custom print problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My services were secured so the credentials had to be embedded in my GPService. See the following for how to solve this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.1/#/Printing_maps_that_contain_secured_services/0154000005q3000000/" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/#/Printing_maps_that_contain_secured_services/0154000005q3000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 06:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/custom-print-problem/m-p/667734#M19656</guid>
      <dc:creator>RebeccaWatson</dc:creator>
      <dc:date>2013-09-23T06:43:20Z</dc:date>
    </item>
  </channel>
</rss>

