Originally posted by: G S SAINI
I am still getting the same error.
I placed crossdomain.xml file in the root of the server. But it still generating the same error.
The application is executing fine locally. But when I acceess the application through the ip It gives the same error.
Plz. provide some solution.
Hello, no update about this problem? I've tryed to find thw solution on the web but all people with the same problem.
On my machine I can put the crossdomain.xml on the root of IIS but if I need to put my application on another server and i cannot put the file on the root of IIS (for many ISP I'd have this problem) what can I do? Is this a bug about flex?
thanks in advance
It's the expected behavior if you have an app in any hosting you get access
to a your website wwwroot in there you can place anything you want. Unless
you're trying to access info from a domain you don't own or manage.
Try to change the directory structure under your Apache/j2ee server. I was having similar issues when accessing it on Unix server. But when I put the swf file directly under the root, it allowed the access and no more security error.
My Flex application calls a DotNet Web service and throws a security error despite the presence of the crossdomain.xml. I tried all kinds of suggestions until this one worked. Apparently just specifying the allowable domains and headers is not enough. The extra settings in this file must be the trick.
guyz can you please read my posts at http://forums.adobe.com/message/3986954#3986954
i am using flash builder using httpservices to call twitter and it works fine if am testing on localhost but once i close the flash builder it generates error and stop showing tweet message
error am getting i.e.
local error i.e. http://localhost/fb/cg7/
Fault 0 (Error):
FAULT MESSAGE: faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=a pi.twitter.com&https=N&id=7DC25F2C-E9EC-2E95-1389-34C9A2061624"]. URL:http://api.twitter.com/1/users/show.xml?screen_name=charagh'
FAULT DETAILS: Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost:37813/1/users/show.xml?screen_name=charagh?hostport=a pi.twitter.com&https=N&id=7DC25F2C-E9EC-2E95-1389-34C9A2061624"]. URL: http://api.twitter.com/1/users/show.xml?screen_name=charagh
FAULT STRING: HTTP request error
online error i.e. http://charag.com/fb/cg7/
Fault 0 (Error):
FAULT MESSAGE: faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'
FAULT DETAILS: Destination: DefaultHTTP
FAULT STRING: Security error accessing url
i placed crossdomain.xml
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<allow-http-request-headers-from domain="*.twitter.com" headers="*" secure="true"/>
It could be that the error,"Security error accessing url" faultCode="Channel.Security.Error" is thrown when the web service to be accessed is not of the same protocol. It worked for me when the web service was published on the same protocol as the request.
I tried to resolve the issue by modifying the cross-domain.xml in the root of iis with allow-access-from domain, but could not resolve.