Skip navigation
Goet
Currently Being Moderated

ColdFusion Builder file preview problem

Aug 28, 2011 5:00 PM

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.

 

Any ideas?

 

Thanks,

Brad

 
Replies
  • Currently Being Moderated
    Jun 22, 2012 11:24 AM   in reply to Goet

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2012 8:06 AM   in reply to CFsolar

    Useful tip/reminder for folks. Thanks for sharing.

     

    /charlie

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points