Select to view content in your preferred language

Testing Flex Viewer 2.0 and getting the following error

1219
2
08-10-2010 09:02 AM
SallyGracia
Emerging Contributor
When I run & debug the Flex Viewer 2.0 in FLASH 4 I am getting the following error. I was using the previous version in Flex 3 and the maps were working fine.  All help is greatly appreciated!

SecurityError: Error #2048: Security sandbox violation: http://localhost/flexviewer/index.swf cannot load data from http://ont-charcsvr01/ArcGIS/rest/services/FouthOfJuly/MapServer?f=json.
at <anonymous>()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyFault()
at mx.rpc.events::FaultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()
at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at DirectHTTPMessageResponder/securityErrorHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
Tags (2)
0 Kudos
2 Replies
MatthewLawton
Deactivated User
Sally, I think those were the same errors I was getting at first when I had my project pointed to "localhost". I had to update my project with the proper server name. Take a look at this post and see if it helps:

http://forums.arcgis.com/threads/9642-Change-localhost-in-Flash-Builder-4-when-Run-index
0 Kudos
SallyGracia
Emerging Contributor
Sally, I think those were the same errors I was getting at first when I had my project pointed to "localhost". I had to update my project with the proper server name. Take a look at this post and see if it helps:

http://forums.arcgis.com/threads/9642-Change-localhost-in-Flash-Builder-4-when-Run-index


THANK YOU!!
0 Kudos