+ Start a Discussion
LeonardLeonard 

Policy file issue

I'm following the Flex Mashup tutorial

 

http://wiki.developerforce.com/index.php/Creating_a_Flex_Mashup_on_Force.com

 

I'm getting a policy file warning that's preventing me from authenticating

 

Warning: Domain www.salesforce.com does not explicitly specify a meta-policy, but Content-Type of policy file https://www.salesforce.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.

 

I know salesforce policy files have been a stumbling block for developers in the past but I haven't seen any documentation that points me in the right direction. 

 

I've tried Security.loadPolicy("https://www.salesforce.com/crossdomain.xml"); to no avail.

pedrovarela1590pedrovarela1590
I'm having this problem too.. :smileymad: When is salesforce going to fix this.. we demand a solutions now.. I need to implement apps to my company and can't go on because of this... :smileymad: 
 
Warning: Domain www.salesforce.com does not explicitly specify a meta-policy, but Content-Type of policy file https://www.salesforce.com/crossdomain.xml is 'text/x-cross-domain-policy'.  Applying meta-policy 'by-content-type'.

Error: Request for resource at https://www.salesforce.com/services/Soap/u/15.0?1000.7382277073339 by requestor from http://sagitarius/flex/OEComponents.swf is denied due to lack of policy file permissions.

*** Security Sandbox Violation ***
Connection to https://www.salesforce.com/services/Soap/u/15.0?1000.7382277073339 halted - not permitted from http://sagitarius/flex/OEComponents.swf

kminevkminev

Has anyone found a work-around on this?