Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-02-2006, 02:26 PM   #1
ljonny18
Registered User
 
Join Date: Oct 2006
Posts: 112
Default RemoteObject + Error + #2048

Hi I am having troubles callin and using the “Remote Object” when I move my Flex 2 application from my Dev box to the server where I want to deploy it……

I am calling a Remote Object that uses a CF CFC file. When it is all (my flex app and CFC file) are stored locally then the application runs and functions fine, but when I copy it to the server I get the following run-time error:

faultCode:Client.Error.MessageSend
faultString:’Send Failed’
faultDetail:’Channel.Security.Error error Error #2048: Security sandbox violation:
file:// …….. .swf cannor load data from http://localhost/flex2gateway/.’

Any suggestions?

Thanks
Jon.
ljonny18 is offline   Reply With Quote
Old 11-02-2006, 06:45 PM   #2
meddlingwithfir
Senior Member
 
Join Date: Aug 2005
Location: Minnesota, USA
Posts: 216
Default

Just a guess, but it looks like you have your flex app on your server looking for the localhost? Flash runs client-side, so when Flex tries to connect to "localhost," it's going to be looking at the Client's computer, not your server.
meddlingwithfir is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
webService + remoteObject + complex object ljonny18 Flex 2, 3 & 4 2 11-02-2006 07:48 AM
RemoteObject Error yan_er04 Flex 2, 3 & 4 1 02-15-2006 03:09 PM


All times are GMT. The time now is 10:05 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.