If wwwroot is not your project root, CFbuilder needs a mapping. Which the
message tries to give you the place to add it, but with these sort of
setups, and yours is identical to the way I use them by the sounds of it.

I have never ever got this to work, even in CFB1.

Virtual Hosts is not the answer, and really is a misleading, because it
really is not even needed in the setup.

But for some reason someone asked for it during the CFB1 alpha/beta and
nobody understood that it was not needed. But I can be proved wrong if
someone can clarify its exact purpose that can't be done elsewhere in CFB.

Now the problem you describe is something that is difficult to work, and I
have done it, but can't seem to get it to work in CFB2 where I had gotten it
to work in CFB1.

But the message is telling you exactly where you need to add the mapping.



-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543



On Thu, Sep 15, 2011 at 6:08 AM, Carl Von Stetten <cmvon...@hotmail.com>wrote:

>
> I'm a complete CFBuilder n00b (just installed this morning for first time).
>
> I've been developing for years using Dreamweaver, so this is going to be a
> huge change for me.
>
> OK, now to the problem.
>
> I develop on a 64-bit Windows 7 PC.  I have IIS 7.5 running local versions
> of the intranet applications I develop.  I have a separate IIS web site for
> each application, and ColdFusion 9.01 is connected to IIS and all the sites
> work from a browser.  My sites run from folders under C:\WebSites.
>
> In my hosts file, I have defined site names linked to 127.0.0.1 (local.app1
> and local.app2).  This all works fine.
>
> Now I have installed CFBuilder.  I configured my local server per the Adobe
> help, or at least as far as I understand.  My server shows up in the Servers
> window.
>
> I'm confused as to how I configure a project.  Do I point the project to
> the actual website's code folder (ie: C:\WebSites\app1\wwwroot), or to the
> default folder for the project (ie: C:\Users\myUserName\Adobe ColdFusion
> Builder workspace/local.app1)?
>
> I tried putting a copy of the codebase in the project's default folder, but
> I can't preview any pages in the Firefox or IE tabs.  I get the message:
>
> "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)."
>
> What am I doing wrong?  How do others set up CFBuilder with locally hosted
> IIS sites?
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347464
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to