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/[email protected]

Reply via email to