Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to communicate with the backend (CF instance)
Agha Mehdi
IDT - eBusiness Program Manager
-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of joao_m_fernandes
Sent: Monday, January 30, 2006 3:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FlashServices/Gateway
To map a CFInstance to a IIS you can go to your
CFinstallationFolder\bin and run wsconfig.exe. This will allow you to
map any of your current CFInstances to your (or all) IIS site(s).
After mapping it if it doesn't work:
1)Are ColdFusion and Flex running under the same instance?
if yes 2) Are they under the same contextRoot or in separate ?
if no 2) shouldn't your Http://server/flashservices/gateway be
Http://server/{cfcontextRoot}/flashservices/gateway ?
João Fernandes
Secção de Desenvolvimento
Departamento de Informática
--- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]> wrote:
>
> When I run the cfc from coldfusion, it runs just fine. It doesn't
work when
> I run it through my Remote Object from Flex.
>
> Flash Remoting is not configured for the CF instance that runs on
IIS, which
> is why Http://server/flashservices/gateway doesn't work. I found
this link
>
>
http://www.macromedia.com/support/flashremoting//ts/documents/iis_gateway_co
> nnection.htm
>
> but I can't find the connectors.bat files anywhere on the server.
>
> Agha Mehdi
> IDT - eBusiness Program Manager
>
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
> Behalf Of joao_m_fernandes
> Sent: Monday, January 30, 2006 3:09 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FlashServices/Gateway
>
> Can you send a bit of your code? how are you calling your CFC?
>
>
> João Fernandes
> Secção de Desenvolvimento
> Departamento de Informática
>
> --- In flexcoders@yahoogroups.com, "Mehdi, Agha" <[EMAIL PROTECTED]>
wrote:
> >
> > I am seeing this error in the logs:
> >
> > ==================================================
> > [Flash Remoting MX]->Request received was not Flash-based (not of
> the binary
> > AMF protocol).
> > ==================================================
> >
> > when I try to access http://<server>/flashservices/gateway. The
> server is
> > CF.
> >
> > Please let me know how to fix it.
> >
> > Thanks
> >
> > Agha Mehdi
> > IDT - eBusiness Program Manager
> > Work: 408.284.8239
> > Cell : 209.275.0482
> > Fax : 408.284.2766
> >
>
>
>
>
>
>
>
> --
> 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
>
--
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/
<*> 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/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.