Howdy all. It's been a while since I've posted. Guess that means I
wasn't doing anything new... eek!
Anyway, I know I've solved this before but can't seem to figure it
out.
I've got an extranet I'm building, it's very similar to my intranet.
so I just grabbed some of the code to recycle. It runs just fine in
the root of the application, however calling an application in a
subfolder of the root fails.
Details:
-----------------------------------------------------------------------------
OS/CF: Win2003Server with CFMX8 (no sp's)
----------------------------------------------------------------
Known good control file execution:
-----------------------------------------------------------------------------
When running "servername/index.cfm" I get no error, everything is
fine.
Application Variables:
applicationname=CFLHDExtranet
Error: When running "servername/usermanager/index.cfm" I get the
error:
---------------------------------------------------------------------------------------------------------
"Could not find the ColdFusion Component or Interface
CFLHDExtranet.Application.
Ensure that the name is correct and that the component or interface
exists. "
No Application Variables present.
This url was arrived at via a href with session variables from the
main page "servername/index.cfm".
Folder/File Struct:
-------------------------
wwwroot
---------Application.cfc
---------index.cfm
---------/usermanager/
-----------------------------/Application.cfc
-----------------------------/index.cfm
wwwroot/Application.cfc code:
-----------------------------------------------------------------------------
<cfcomponent output="true">
<cfset this.name="CFLHDExtranet">
<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 ---
>
</cfcomponent>
wwwroot/usermanager/Application.cfc code:
-----------------------------------------------------------------------------
<cfcomponent extends="CFLHDExtranet.Application">
<cfinclude template="app_Globals.cfm">
</cfcomponent>
This has got to be obvious.... but any ideas from any one? It all
(Application.cfc structures) works just fine on my other server, but
it's CFMX7sp2.
Thanks for your time and replies.
BN
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---