Aaron - 
 
Ok, hmm.. well. First I tried to just rename the base dir to - 
"D:\CFLHDIntraNet\"  to see if that would work. It didn't. Then I did what you 
said and created a CF Mapping of "CFLHDIntraNet" to the dir above. It all 
worked at that point.
 
Though, I didn't need a mapping on my dev server, but maybe it had something to 
do with the "CFLHDIntraNet" folder being in the "inetpub" dir.
 
I'm sure it'll click in time.
 
Thanks for your help however, I appreciate it.
 
BNBrent Nicholas - 248.767.5516 - [EMAIL PROTECTED] "I can't afford to make 
exceptions. Once word leaks out that a pirate has gone soft, people begin to 
disobey you, and then it's nothing but work, work, work, all the time." -- Man 
in Black - Princess Bride



> Date: Sat, 3 Mar 2007 07:57:51 +1100> From: [EMAIL PROTECTED]> To: 
> cfcdev@cfczone.org> Subject: Re: [CFCDEV] Application cfc inheritance 
> confusion> > extends="CFLHDIntranet.Application" is basically saying:> > look 
> in the directory (from current directory) or in the directory > mapping 
> called CFLHDIntranet and use the file called Application.cfc as > the parent 
> for this "class".> > I'm betting you have no directory called > 
> D:\IntranetRoadMap\hr\CFLHDIntranet or CF mapping called that either?> > 
> Solution: create a ColdFusion mapping called CFLHDIntranet that points > to 
> D:\IntranetRoadMap\.> > NB: CF has no idea about and does not / cannot (??) 
> use the virtual IIS > mapping you created called "CFLHDIntranet".> > HTH> 
> Aaron> > Brent Nicholas wrote:> > Howdy all -> > > > So I thought I'd solved 
> this back in December, but now that I'm moving > > the app to the production 
> server it's not working again.> > > > In short the application that is being 
> run has an Application.cfc that > > inherits from the main Application.cfc. 
> When run, it throws the error: > > "Could not find the ColdFusion Component 
> CFLHDintranet.Application"> > > > Here's an outline of the setup (with 
> reference index numbers to code):> > > > *CF Files are in:*> > 
> D:\IntranetRoadMap\ <--- has the index.cfm (works fine) and > > 
> Application.cfc ((1) -referenced below)> > D:\IntranetRoadMap\hr <--- has the 
> index.cfm (fails) and > > Application.cfc (fails) with inheritance from top 
> App.cfc ((2) > > -referenced below)> > > > *IIS Configured to:*> > WebSite 
> called "Roadmap" on port 80, points at "D:\IntranetRoadMap\", > > I access 
> through: http://roadmap.cflhd.gov> > (on my machine I had to create a virtual 
> directory in the main web > > site called "CFLHDIntranet" and it all works 
> fine)> > > > *Note:*> > For those of you who are familiar with it, I also ran 
> the > > "BandwidthAssociates" code in the "D:\IntranetRoadMap\" (removing the 
> > > other code of course), and it failed as well. I figured it was a good > > 
> 'control' to test with.> > > > *Code:*> > (1) 
> *D:\IntranetRoadMap\Application.cfc*> > 
> -----------------------------------------> > <cfcomponent output="false">> > 
> <cfset this.name="CFLHDIntranet">> > <cfset this.sessionmanagement="yes">> > 
> <cfset this.SetClientCookies="no">> > <cfset this.loginstorage="session">> > 
> <cfset this.applicationTimeout=CreateTimeSpan(0,12,0,0)> <!--- 12 > > hrs 
> --->> > <cfset this.sessionTimeout=CreateTimeSpan(0,4,0,0)> <!--- 4 hrs --->> 
> > > > <!--- Define DSN --->> > <cfinclude template="app_Datasource.cfm">> > > 
> > <cffunction name="onSessionStart" returntype="void">> > do some 
> login/authenticaion stuff> > </cffunction>> > </cfcomponent>> > 
> -----------------------------------------> > 
> -----------------------------------------> > > > (2) 
> *D:\IntranetRoadMap\hr\Application.cfc*> > 
> -----------------------------------------> > <cfcomponent 
> extends="CFLHDIntranet.Application">> > <cfinclude 
> template="app_Globals.cfm">> > </cfcomponent>> > 
> -----------------------------------------> > 
> -----------------------------------------> > > > Thanks for everyone's time 
> -> >> > Brent Nicholas> >> >> > You are subscribed to cfcdev. To unsubscribe, 
> please follow the > > instructions at http://www.cfczone.org/listserv.cfm> >> 
> > CFCDev is supported by:> > Katapult Media, Inc.> > We are cool code geeks 
> looking for fun projects to rock!> > www.katapultmedia.com> >> > An archive 
> of the CFCDev list is available at > > 
> www.mail-archive.com/cfcdev@cfczone.org > > > You are subscribed to cfcdev. 
> To unsubscribe, please follow the instructions at 
> http://www.cfczone.org/listserv.cfm> > CFCDev is supported by:> Katapult 
> Media, Inc.> We are cool code geeks looking for fun projects to rock!> 
> www.katapultmedia.com> > An archive of the CFCDev list is available at 
> www.mail-archive.com/cfcdev@cfczone.org> 

You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/cfcdev@cfczone.org

Reply via email to