Copy link to clipboard
Copied
Hi,
I'm tryng to create a Flex Project, but got stuck with an error....
Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
ColdFusion root folder: C:\inetpub
Root URL: http://localfost:8500/
The project wants to connect to the ColdFusion 9
I have installed ColdFusion 9 on IIS
Copy link to clipboard
Copied
There are 3 paths that are of interest when creating CF project
a. CF Root - This is the place where your CF is installed, typically c:\coldfusion9
b. Web root - Typically this would be c:\coldfusion9\wwwroot, but since you have it on IIS, it might be c:\Inetpub\www, basically the folder should have CFIDE in it
c. Root URL - Typically http://localhost: 8500
Looking at the error, looks like you have not given the CF root properly. The directory should have WEB-INF folder.
Thanks
-Sunil
Copy link to clipboard
Copied
Thank you for your help! :)
On this page,
http://www.anujgakhar.com/2010/06/08/cfflex-connectivity-in-flex-builder/
in the last comment, he writes:
for use ColdFusion root folder C: \ ColdFusion9
For Webroot use C: \ inetpub \ wwwroot
Root Url for use http://127.0.0.1
I set it according to the error and everything worked. Are these settings good?
Copy link to clipboard
Copied
Yes, it looks good.