0 Replies Latest reply on Nov 30, 2006 9:56 PM by Cheree Singal

    Sandbox security violation error on compiling FDS

    Cheree Singal
      Hi,
      I am trying to compile am mxml using Remote Object locally using Flex SDK outside FlexBuilder.
      I have used the command:
      mxmlc -services="path\to\my\services-config.xml" -context-root=\ContextRoot FileName.mxml

      I am getting the following error when I try to run the swf generated:

      [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048: Security sandbox violation: http://localhost:9080/iReports/flexFiles/mxml/AdminServices.swf cannot load data from http://localhost:9080iReports/messagebroker/amf."
      at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler()
      at mx.rpc::Responder/fault()
      at mx.rpc::AsyncRequest/fault()
      at mx.messaging::ChannelSet/::faultPendingSends()
      at mx.messaging::ChannelSet/channelFaultHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.messaging.channels::NetConnectionChannel/::defaultErrorHandler()
      at mx.messaging.channels::NetConnectionChannel/::securityErrorHandler()


      Can anybody help me?

      Thanks in advance,
      Cheree