2 Replies Latest reply on Aug 19, 2013 4:25 PM by Unsanctioned

    Yet another Error #2048 problem

    Unsanctioned Level 1

      Okay, I've spent the whole day trying to fix this today. crossdomain.xml is my nemesis.

       

      I had my app working briefly. I made some code changes, after which I started receiving Error #2048, which I have been totally unable to solve.

       

      My crossdomain.xml:

       

      <?xml version="1.0"?>

      <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

      <cross-domain-policy>

          <site-control permitted-cross-domain-policies="all" />

          <allow-access-from domain="*" secure="false" />

      </cross-domain-policy>

       

      Part of the content is supplied from a site using http, with an authentication call to a site (on the same host, in the case of development) using https. Call it "mydomain.local" for http and "mydomain.local:8443" for https.

       

      I've also tried adding the explicit site domain="mydomain.local" in place of and in addition to the "*" in allow-access-from elements in the crossdomain.xml

       

      This worked prior to my code change.

       

      In all cases, after my small code change (to explicitly specify the source of a mxml element), it stopped working, and no variants of crossdomain.xml seem to make a bit of difference.

       

      What am I doing wrong here?