Viper Creations
Comeback Contest
Check out our forums for the an explosive comeback contest. We are giving away everything from iPods to Visual Studio. more...
»User: »Password:   Remember Me? 
Webmaster Forum - Viper Creations / Programming / PHP/MySQL / Help with "Create a Login System with Flex and PHP"
Posted:  13 Mar 2007 20:47
The login runs fine on my local system, but when I post it on my web server, I receive the following message after clicking on submit:

An ActionScript error has occurred:
[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
    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/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()

How can I resolve this?
Thanks,
Mark
Posted:  14 Mar 2007 17:02
Take a look at this:

Security Policy

I believe you need some kind of security policy setup somewhere. I'm not too familiar with that error so can't tell you for sure, sorry!
__________________
http://www.vipercreations.com/images/banner/result.gif
Posted:  18 Mar 2007 21:00
I have looked into the security policy setup, but despite all of my efforts, I still receive this message. I have tried on 3 different web servers with different databases. Could this be a local issue?
Posted:  19 Mar 2007 13:03
If it's working on your local machine, then it's not a local issue. Try checking the locations of your database and Flex file. I believe this may be of some use to you: https://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn%5F14213