kirarulzz40
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 0
Hi,
I am building a flex demo application that uses ZOHO remote API's to do document collaboration. The application runs perfectly alright in my local machine. But when i host in x10, it is giving me a security sandbox violation.
i dont know how to solve it. i am breaking my head for over 4 hours. someone please help me.
From net, i found out i should have a crossdomain.xml file placed in root folder. i created crossdomain policy like below
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
I have pasted in public_html, public_ftp, www, outside public_html. but it hasnt resolved my problem yet.
Please feel free to have a look at my demo.
http://documentcollaboration.elementfx.com/DocumentCollobaration.html.
Hoping to get a reply soon. please help me.
Thanks,
Dinesh.
P.S: Below is the error that i am getting.
false (mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = "DirectHTTPChannel0"
correlationId = "B73C67B7-66A6-2324-FC05-6076C0D246F2"
destination = ""
extendedData = (null)
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
headers = (Object)#1
DSStatusCode = 0
messageId = "016332FC-7E1B-9AB0-7EBE-6076C3E3DE2E"
rootCause = (flash.events::SecurityErrorEvent)#2
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#3
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#3
text = "Error #2048: Security sandbox violation: http://documentcollaboration.elementfx.com/DocumentCollobaration.swf cannot load data from http://sheet.zoho.com/remotedoc.im."
type = "securityError"
timestamp = 0
timeToLive = 0 [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: [url]http://documentcollaboration.elementfx.com/DocumentCollobaration.swf[/url] cannot load data from http://sheet.zoho.com/remotedoc.im."]
I am building a flex demo application that uses ZOHO remote API's to do document collaboration. The application runs perfectly alright in my local machine. But when i host in x10, it is giving me a security sandbox violation.
i dont know how to solve it. i am breaking my head for over 4 hours. someone please help me.
From net, i found out i should have a crossdomain.xml file placed in root folder. i created crossdomain policy like below
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
I have pasted in public_html, public_ftp, www, outside public_html. but it hasnt resolved my problem yet.
Please feel free to have a look at my demo.
http://documentcollaboration.elementfx.com/DocumentCollobaration.html.
Hoping to get a reply soon. please help me.
Thanks,
Dinesh.
P.S: Below is the error that i am getting.
false (mx.messaging.messages::ErrorMessage)#0
body = (null)
clientId = "DirectHTTPChannel0"
correlationId = "B73C67B7-66A6-2324-FC05-6076C0D246F2"
destination = ""
extendedData = (null)
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
headers = (Object)#1
DSStatusCode = 0
messageId = "016332FC-7E1B-9AB0-7EBE-6076C3E3DE2E"
rootCause = (flash.events::SecurityErrorEvent)#2
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#3
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#3
text = "Error #2048: Security sandbox violation: http://documentcollaboration.elementfx.com/DocumentCollobaration.swf cannot load data from http://sheet.zoho.com/remotedoc.im."
type = "securityError"
timestamp = 0
timeToLive = 0 [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: [url]http://documentcollaboration.elementfx.com/DocumentCollobaration.swf[/url] cannot load data from http://sheet.zoho.com/remotedoc.im."]
Last edited: