"Page Not Found (404)" error accessing Coldfusion /flex2gateway on IIS on windows XP
It's taken me 2 hours to get to the bottom of this, but I finally managed to fix the problem:).
Machine History
My machine had been set-up with CFMX 6.1.I had then installed CFMX 7.0.1 in addition to CFMX 6.1, with a virtual directory set-up within IIS with all the CF7 mappings.
Subsequently I installed the CFMX 7.0.2 updater.
Problem Description
Any requests made to http://localhost/flex2gateway/ resulted in a standard IIS "Page not Found" 404 error being displayed.Requests to http://localhost/flex2gateway/index.cfm resulted in "No configured channel has an endpoint path /flex2gateway/index.cfm'" JRun Servlet error being displayed.
This made me think that the problem was not with the Flex configuration, but rather that the request was not getting as far as JRun / CF / Flex - i.e. it was a problem with the CF connector.
Solution:
I ran:\CFusionMX7\bin\connectors\Remove_ALL_connectors.batto remove CF7 IIS connector. Followed by:
\CFusionMX7\bin\connectors\IIS_connector.batto reinstall the CF7 IIS connector.
Success!
Requests to http://localhost/flex2gateway/ now result in a blank page - http status 200 - and flex applications can now access CFCs successfully.
Hopefully this helps someone out there - I couldn't find anything particularly helpful on google when I looked...


Wondering if you develop your flex app within the CF wwwroot (C:\CFusionMX7\wwwroot) or is it possible to move the project outside of CF's webroot and still have flex remoting work?
Thanks Kevin