Error #2048 Security Sandbox Violation Cannot Load Data From
here for a quick overview of the site Help Center Detailed answers to any error #2048 security sandbox violation flash questions you might have Meta Discuss the workings and policies channel.security.error error error #2048 of this site About Us Learn more about Stack Overflow the 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.
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the 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 http://stackoverflow.com/questions/6180696/error-2048-security-sandbox-violation-cannot-load-data Flex - Security Sandbox violation - ERROR#2048 up vote 3 down vote favorite 1 So if i put -http://xxx.xx.xx.x/website/website.html and try to use an HTTPService with in the swf to contact -https://yyy.yy.yy.y/resources/script, I get the sandbox error. If I put -https://yyy.yy.yy.y/crossdomain.xml in the browser and access it everything in the crossdomain file looks fine. wWen i go back and try to use the HTTPService http://stackoverflow.com/questions/5157089/flex-security-sandbox-violation-error2048 from -http://xxx.xx.xx.x/website/website.html everything now works until i close the browser which i assume clears the cache. ********crossdomain.xml*********
without it enabled. Please turn JavaScript back on and https://geonet.esri.com/thread/13961 reload this page.All Places > GIS > https://developer.salesforce.com/forums/?id=906F00000008ncEIAQ 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 error #2048 created by rfiguero on Oct 6, 2010Latest reply on May 20, 2012 by raufvirk Like • Show 0 Likes0 Comment • 8Hi all,I am trying to publish a FlexViewer 2.1 in from my local machine. I am error #2048 security using IIS 5.0. I have placed the crossdomain.xml under my web root (C:\Inetpub\wwwroot). The crossdomain.xml file includes the following:
Started Documentation Release Overview Trailhead Books & Cheat Sheets On-Demand Webinars Certification Blogs Tools Force.com IDE Lightning Design System Source Code Scanner More Tools & Toolkits By Topic App Distribution App Logic Architect Database Lightning Mobile Integration Security User Interface Websites Community Developer Forums Events Calendar Developer MVPs Developer Groups Developer Success Stories Blogs Blog All Blogs Developer Relations Engineering Force.com Labs Tech Docs Trailhead Trailhead - Trails - Modules - Projects Get Help Join the Community Login with Salesforce Don't have an account? Signup for a Developer Edition Browse by Topic Apex Code Development (56094) General Development (42640) Visualforce Development (29021) Formulas & Validation Rules Discussion (6931) APIs and Integration (6594) Jobs Board (6101) Other Salesforce Applications (5564) Force.com Sites & Site.com (3585) Java Development (3494) .NET Development (3330) Mobile (1751) Lightning (1524) Trailhead (3259) Perl, PHP, Python & Ruby Development (1894) AppExchange Directory & Packaging (1806) Mobile (1751) Security (1725) Lightning (1524) Chatter and Chatter API Development (1435) Visual Workflow (1088) Salesforce Labs & Open Source Projects (1009) Desktop Integration (968) Apple, Mac and OS X (707) VB and Office Development (613) Schema Development (604) Architecture (425) Salesforce Summer of Hacks (132) Salesforce $1 Million Hackathon (127) Predictive Services (4) View More Topics See All Posts Welcome to Support! Search for an answer or ask a question of the zone or Customer Support. Need help? Dismiss ShowAll Questionssorted byDate Posted ShowAll QuestionsUnanswered QuestionsUnsolved QuestionsSolved Questions sorted byDate PostedRecent ActivityMost Popular + Start a Discussion You need to sign in to do that Sign in to start a discussion Don't have an account? Signup for a Developer Edition Unsolved QuestionsThis Question Chirag MehtaFlex - Salesforce : Error #2048: Security sandbox violationI am working on aVisualforce-Customer Portal based Eventforce application development. Part ofthis application includes a flex calendar embedded inside a visualforcepage. This calendar shows user's event attendance details. Flex being a non nativelanguage to Salesforce, to interact with salesforce we either need to hard-codethe username pa