Skip to main content
nikos101
Inspiring
May 13, 2010
Question

The selected service should be under the web root of the current project's server.

  • May 13, 2010
  • 3 replies
  • 4495 views

I should not be getting these messages when trying to link to a cfc in my flex project

The selected service should be under the web root of the current project's server.

Thats pretty brain dead as the cfc is in

C:\ColdFusion9\wwwroot\FLEX\BV1\Bo-debug\test.cfc

This topic has been closed for replies.

3 replies

Participant
May 10, 2012

C:\ColdFusion9 => c:\Coldfusion9  (be sure that coldfusion root folder is equal to the cfc's path)

(coldfusion root folder : default location for local ColdFusion server)

Participant
August 24, 2010

Try this:

open \\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\remote-config.xml  (or similar)

Traverse to this section:

<access>
                <!-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. -->
                <use-mappings>false</use-mappings>
                <!-- allow "public and remote" or just "remote" methods to be invoked -->
                <method-access-level>remote</method-access-level>
            </access>

Change this line:

<use-mappings>false</use-mappings>
To this:

<use-mappings>true</use-mappings>

Save the XML file.

Log in to CF Administrator and find the Mappings section.  Map your component folder with the name you want beginning with a slash.  Then browse for that resource folder.  Save

Exit CF Admin.

Restart Server.  Restart Flash Builder.  Then tell me how it went.

nikos101
nikos101Author
Inspiring
August 24, 2010

shish kebabs, thats pretty cool, need to try that if have the prob again

nikos101
nikos101Author
Inspiring
May 19, 2010

Anyone else have these problems with coldfusion builder and fb4. It seems extremely buggy.

nikos101
nikos101Author
Inspiring
May 19, 2010

FB4 really has no concept what a coldfusion web root as the project setup dialoges

mostly have these red crosses preventing my from making projects with the desired settings. Very very dissapointing.