I am using a flex application to communicate with Salesforce.com. It was able
to retrieve the Crossdomain.xml from Salesforce.com. But after that when the
application tries to retrieve data from Salesforce it flash player is throwing
security sandbox vioalation error.. with error code 2048. this is the error i
am getting in detail.
##################################################################
(mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = "DirectHTTPChannel0"
correlationId = "53E9F6FC-B0CC-6E84-2FCB-ED6FFAC081E7"
destination = ""
extendedData = (null)
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
headers = (Object)#2
messageId = "07AB6F6E-7703-37AF-31EB-ED6FFAEE56C6"
rootCause = (flash.events::SecurityErrorEvent)#3
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#4
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#4
text = "Error #2048: Security sandbox violation:
file:///F|/Shared/SalesForce/swf%20file/CCPApplication.swf cannot load data
from https://cs2-api.salesforce.com/services/Soap/u/12.0/4e1300DR0000000716i."
type = "securityError"
timestamp = 0
timeToLive = 0
#################################################################