Flex Error 2048
here for a quick overview of the site Help Center Detailed error #2048 security sandbox violation flash answers to any questions you might have Meta Discuss the error #2048 security sandbox violation cannot load data from workings and policies of this site About Us Learn more about Stack Overflow the channel.security.error error error #2048 company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error #2048 Security sandbox violation - cannot load data up vote 0 down vote favorite I get the below error when i am trying to make a java call from flex. [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048: Security sandbox violation: 'http://sample.com/sample.swf' cannot load data from http://sample:8080/messagebroker/amf. url: 'http://sample:8080/messagebroker/amf'"] When i tried running the same in my local tomcat server, this was working fine. But when hosted as a site, i am getting this error. I tried placing the crossdomain.xml file in the root directory too. But the error would never go. crossdomain file is like below.
without it enabled. Please turn JavaScript back on and reload this page.All Places > GIS > Applications > ArcGIS Viewer for Flex > DiscussionsLog in to create and rate content, and to follow, bookmark, and share content with other members.SecurityError: Error #2048: Security sandbox violation:Discussion created by rfiguero on Oct 6, 2010Latest reply on May 20, 2012 by raufvirk Like • Show 0 Likes0 http://stackoverflow.com/questions/6180696/error-2048-security-sandbox-violation-cannot-load-data Comment • 8Hi all,I am trying to publish a FlexViewer 2.1 in from my local machine. I am using IIS 5.0. I have placed the crossdomain.xml under my web root (C:\Inetpub\wwwroot). The crossdomain.xml file includes the following:
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: http://forums.adobe.com/message/3205191?tstart=0 You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your error #2048 message and try again. More discussions in Flex All CommunitiesFlex 3 Replies Latest reply on Oct 13, 2010 10:25 AM by Flex harUI Socket: Error #2048: Security sandbox violation ninjaz1000 Oct 11, 2010 5:56 PM I've searched several FLEX forums on this issue and error #2048 security have yet to find a resolution to this. Looks like there have been pleanty of individuals that have received this message:I'm attempting to connect to a java service running port 8080 on the same linux host as the Apache instance serving my flex application.The "crossdomain.xml" is on the root of the webserver and accessible via http://myhost/crossdomain.xml and contains the fillowing: