Hello, I'm having trouble with file preview in CF Builder 2. I keep getting a message that says "Selected file is not in the document root of the server. If the project is not in the document root, create a linked folder to the document root (selecting Project Properties > ColdFusion Project)."
I've done that and created a linked folder to the path C:\ColdFusion9\wwwroot
However, I'm not sure how this linked folder works.
My setup is like this. All web documents are in c:\websites\domainname\public_html
The Coldfusion install is in C:\ColdFusion9
I did notice that there is a CFIDE folder in the c:\websites folder. I believe that I did this when installing CF but I don't need it to be there.
I know this post is almost a year old, but, seeing as how there have been a lot of views, I thought I'd venture a solution even though my situation was slightly different.
The bottom line: In CFBuilder, go to the Servers view and right click on the local server running you are running against. When the initial screen comes up, check to make sure all of that is correct, then click NEXT. On the next view ("Local Server Settings") there is a path for the Document Root. Make sure that's correct and click Finish.
The background: I had to relocate my Apache server to a new directory with a different name. Even though I changed all of the associations in the Projects and the Workspace and the httpd.conf file for Apache, the localhost settings in CF Builder were still pointing to the old Document Root. Once I corrected that, everything worked like a champ.
Europe, Middle East and Africa