[Thread Edited By Adobe]
/*Don’t forget to meet and greet your fellow peers virtually by telling them about yourself here.
Go ahead and to it now: https://adobe.ly/3eDnB4v */
Actual Question:
HI
I am using a webservice(.net webservice) that is on my
localhost and using it in flex application that is also on my
system. Means both the webservice and flex application are on the
same system.
But when i gives the reference of the webservice using the
system ip and run the application by the flex builder it generates
the error as:
mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = "DirectHTTPChannel0"
correlationId = "24CD6542-F141-1A05-BA35-00A108CB30A0"
destination = ""
extendedData = (null)
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
headers = (Object)#2
messageId = "CC123DF0-0E6C-05FF-7894-00A109676283"
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 #2170: Security sandbox violation:
http://localhost:3000/MYCIMS/flex_bin/Design.swf
cannot send HTTP headers to
http://myip/MyServer/AdminWS.asmx."
type = "securityError"
timestamp = 0
timeToLive = 0
I have put crossdomain.xml file in the root of the localhost
and made every changes possible in the crossdomain.xml file but the
application is not running.
Please somebody provide an effective solution, I have spend
lots of time to resolve the problem but its not being....
Thanks in advance
Gopi Saini
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
quote:
Originally posted by:
G S SAINI
Hi
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.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
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
andrea
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
hiii.......
Thanks to u all....You all save my Day......
Views
Replies
Total Likes
Thanks guys, the solution worked for me.
Views
Replies
Total Likes
I had the same error and crossdomain.xml worked. Thanks a lot for your help.
Views
Replies
Total Likes
Awesome, this post helped me too.
Views
Replies
Total Likes
thanks a lot, this solved also our problem...
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies