<?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 when adding secure service to Flex Viewer without token in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157574#M5023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We need more details on your ArcGIS Server Security settings. Are you using active directory or built-in or what?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 21:11:50 GMT</pubDate>
    <dc:creator>GISDev1</dc:creator>
    <dc:date>2013-07-02T21:11:50Z</dc:date>
    <item>
      <title>error when adding secure service to Flex Viewer without token</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157573#M5022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the past I've been able to add a secure service to the Flex Viewer and it would prompt the user to log in. While I've been using tokens and applications secured with IIS recently, I now have a simple app with one secure service and I'd like the credentials to be passed on directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, when I add the secure service to my app (version 3.3), I don't get prompted to log in, and just get an error message instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Conservation Projects (sensitive) layer failed to load: Fault code: 499&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fault info: Unauthorized access&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fault details: "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried using the app builder rather than xml, and after logging in I can see the layer, but once I switch to the preview tab I get an error (the same "failed to load" message plus Channel.Security.Error). I'm hosting this app on the same server that is working fine with tokens, and my crossdomain.xml file hasn't changed. I've also tried both a public-facing 10.0 Server instance and a 10.1 Server instance on our intranet with the same result. The xml I'm using in the layers section is just:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;operationallayers&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="Conservation Projects (sensitive)" type="tiled" visible="true" alpha="0.7"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="https://maps.tnc.org/ecadpubprodanon/rest/services/TNC_internal/conservation_projects_auth_WM/MapServer"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="0" popupconfig="popups/ConservationProjects.xml"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sublayer id="1" popupconfig="popups/ConservationProjects.xml"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/layer&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/operationallayers&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone let me know what I'm going wrong? Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 19:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157573#M5022</guid>
      <dc:creator>JonFisher</dc:creator>
      <dc:date>2013-07-02T19:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: error when adding secure service to Flex Viewer without token</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157574#M5023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We need more details on your ArcGIS Server Security settings. Are you using active directory or built-in or what?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 21:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157574#M5023</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-07-02T21:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: error when adding secure service to Flex Viewer without token</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157575#M5024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry about that, I am using active directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 12:10:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/error-when-adding-secure-service-to-flex-viewer/m-p/157575#M5024</guid>
      <dc:creator>JonFisher</dc:creator>
      <dc:date>2013-07-03T12:10:12Z</dc:date>
    </item>
  </channel>
</rss>

