We help IT Professionals succeed at work.
Get Started

Security error accessing url-Destination: DefaultHTTP-Channel.Security.Error

Last Modified: 2013-11-19
Hi, I have the following problem.

I'm working on the subnet 192.168.90.*. I create a flex app with the following code  
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" >

			import mx.rpc.events.ResultEvent;
			import mx.rpc.events.FaultEvent;
			import mx.controls.Alert;
			import mx.utils.URLUtil;
			private function testWebServiceSuccess(event:ResultEvent):void
	        	this.txtValue.text = event.result.toString();	
			private function testWebServiceFault(event:FaultEvent):void
	        	Alert.show(event.fault.faultString + "-" + 
	        	event.fault.faultDetail + "-" + 
	        	event.fault.faultCode, "Error");
			private function testWebServiceClick():void

	<mx:Text x="92" y="55" text="Value:" id="lblValue"/>
	<mx:TextInput x="145" y="53" id="txtValue"/>
	<mx:Button x="204" y="83" label="Invoke WS" id="btnInvokeWS" click="testWebServiceClick()"/>
	<mx:WebService 	id="wsx" 
		<mx:operation 	name="ConversionRate" 

Open in new window

As you can see, the flex app invokes a web service from http://www.webservicex.net/. I review, and there is a crossdomain file on it (http://www.webservicex.net/crossdomain.xml) allowing access from whichever domain.

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

When I deployed the flex app on the server and I try to access from a browser, I get the following Error:

Security error accessing url-Destination: DefaultHTTP-Channel.Security.Error

I read a lot about security sandbox in flash player, I tried to configure everything but I'm still having the error.


1. The client browser has the IP (Firefox 3.6, Flash Player, Windows 7)
2. The server where the flex app was deployed has the IP (Windows Web Server 2008 R2 64bits, IIS 7, Flash Player
3. I have connectivity between the machines and I have access to the web services' WSDL.
4. Both machines, the client and the server are not member of a domain (is it important?)
5. The server machine has the following crossdomain file located at:

<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>

I'll really appreciate your help. I'm very confused...
Thanks in advance.

Watch Question
Principal Solutions Architect
Top Expert 2006
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE