Hi Stephen,

Yep you need to cycle coldfusion whenever you change services config. Also
remember to recompile your flex app.

Don't move WEB-INF/flex. IIS should work just fine. Generally you will
publish your compiled Flex application swfs into inetpub/wwwroot (the web
server root).

hth
Angus

On 14/12/06, stephen50232 <[EMAIL PROTECTED]> wrote:

  Hi,
I'm trying to put my first Flex app on the live server, which has
sub-domains to different folders on the server for each site. When I
open the Flex app I keep getting cannot find components error message.
I am using mappings in the administrator to point to where the
components are, but Flex cannot find them. I know that that mappings
are correct because I have a test.cfm page which I used to call a CFC
using the mapping and this worked fine.
I have also changed the service-config.xml file to:
<access>
<!-- Use the ColdFusion mappings to find CFCs, by default only CFC
files under your webroot can be found. -->
<use-mappings>true</use-mappings>
<!-- allow "public and remote" or just "remote" methods to be
invoked -->
<method-access-level>remote</method-access-level>
</access>

Currently on the live server we only have the WEB-INF/flex folder
under the CFusionMX7/wwwroot folder not the intepub/wwwroot/folder, do
I need to restart the server for changes to the service-config.xml to
take affect and do I need to copy the WEB-INF/flex to the
intepub/wwwroot/ and can Flex applications run in folders which are
set up as sub-domains? Or do they all have to be under wwwroot?

Thanks

Stephen

Reply via email to