Sagewire Logo

Couldn't find the Cold Fusion Component or InterfaceHavesters.com.Index.

2 Message(s) by 2 Author(s) originally posted in server admin


From: man jackals Date:   Saturday, September 29, 2007
I am going online 4 the first time. I have a folder called "com" at the root
folder. I then use
Application.CFCROOT = "Havesters.com";
When I reference it like this - Home =
createObject("component ","#Application.cfcRoot#.Index");
I get the below error even though ir runs on the PC well. The hosting
platform is Windows

The error can be seen here http://www.havesters.com/test1.CFM

Couldn't find the Cold Fusion Component or Interface Havesters.com.Index.
Ensure that the name is correct and that the component or interface exists.

The error occurred in C:\Websites\137531Gt3\Includes\Header.cfm: line 7

5 :
6 : <CFSCRIPT>
7 : Home = createObject("component","#Application.cfcRoot#.Index");
8 : NewReleases = Home.GetNewReleases();
9 : otheralbs = Home.Getotheralbums();


From: ksmith Date:   Monday, October 01, 2007
It appears your CFC is actually in /com at your site. Therefore your pathing
should be:
com.Index.CFC or CreateObject("component", "com.Index")
for your code to work your CFC'd need to be in /com/Havesters.



Next Message: CHF7020003



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional