Hi Peter, thanks for your reply. I initially tried the configuration without the to-ports attribute, but no success there either. At the moment, I placed the crossdomain.xml in every folder I could find, that possibly could be accessed by FlashPlayer to gather the file.
However, it should only be placed in the root. As I wrote, in my case I can access the file directly using http://10.12.104.10:8700/crossdomain.xml, so I really do not understand what's going on there... It seems, as if the config loads now for some strange reason, but I'm getting another error on the server-side: Requested resource '/flex2gateway/' (%2fflex2gateway%2f) not found So... I drilled it down towards the services-config file(s)... Since I am using FDS alongside with RPC, the application is hosted by FDS, but I adapted an individual services-config-plusRemoting to enable FlashRemoting and the use of the Coldfusion gateway flex2gateway. Every change to the config, I do in both files - the adapted one that the compiler uses and that is included in the swf, and the original one that is available for FDS at runtime. For the flex2gateway channel, they are both configured like this: <!-- Coldfusion amf channel --> <channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel"> <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> <properties> <polling-enabled>false</polling-enabled> <serialization> <instantiate-types>false</instantiate-types> </serialization> </properties> </channel-definition> What am I doing wrong here?? Cheers, Thomas. ------------------------------------ Thomas Rühl Design, Programming & Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil +49 (0) 179 750 75 87 E-Mail [EMAIL PROTECTED] Web http://www.akitogo.com ------------------------------------ Peter Farland wrote: > > > This shouldn't matter, but can you try removing the to-ports attribute > in the crossdomain.xml but leave the domain attribute in the > allow-access-from element? > > Are you using mxmlc to compile the SWF and if so, is there any chance > that you changed the network access policy when compiling the SWF (i.e. > set -useNetwork to false if compiled with mxmlc)? > ------------------------------------------------------------------------ > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Thomas Rühl > *Sent:* Monday, October 16, 2006 7:49 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] [Flex 2] Crossdomain issue > > > Hello flexcoders, > > I am currently failing to access my application by an address other than > localhost. > > The error I get is: > Client.Error.MessageSend: Send failed > > The details are: > [FaultEvent.fault=[RPC Fault faultString="Send failed" > faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error > error Error #2048"] messageId="..." type="fault" bubbles=false > cancelable=true eventPhase=2] > > My crossdomain.xml looks like this: > <?xml version="1.0"?> > > <!DOCTYPE cross-domain-policy SYSTEM > "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd > <http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd>"> > <cross-domain-policy> > <allow-access-from domain="*" to-ports="*"/> > </cross-domain-policy> > > And the URL, I am attempting to access is > http://10.12.104.10:8700/flex/AvalonHelpdesk/AvalonHelpdesk.html > <http://10.12.104.10:8700/flex/AvalonHelpdesk/AvalonHelpdesk.html> > ...where 10.12.104.10 is my IP address and 8700 is the FDS port. > > I can successfully access the policy file by typing > http://10.12.104.10:8700/crossdomain.xml > <http://10.12.104.10:8700/crossdomain.xml> > > Everything else, like Coldfusion and the database, as well runs locally > on my machine. Any attempts using localhost, work just fine. > > Any help is really appreciated! > > Cheers, Thomas > > ------------------------------------ > > Thomas Rühl > Design, Programming & Concepts > > akitogo OHG > Hanauer Landstrasse 188 > 60314 Frankfurt > > Telefon +49 (0) 69 800 69 445 > Fax +49 (0) 69 800 69 449 > Mobil +49 (0) 179 750 75 87 > E-Mail [EMAIL PROTECTED] <mailto:thomas.ruehl%40akitogo.com> > Web http://www.akitogo.com <http://www.akitogo.com> > > ------------------------------------ > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/