If you happen to be a Fusebox user, Fusium (www.fusium.com > TOOLS AND
PRODUCTS > CASE CHECKER) have a simple tool which checks the filename
referenced in the fbx_switch file to the physical filename on the disk and
reports any discrepancy. 

Jb.

-----Original Message-----
From: Sean A Corfield [mailto:sean@;corfield.org] 
Sent: 08 November 2002 19:18
To: CF-Talk
Subject: Re: HELP! Ever seen this error?

On Friday, Nov 8, 2002, at 10:18 US/Pacific, David Notik wrote:
> I figured changing the file name would fix the issue (as I see Adrian
> mentioned), and it has.  I'd love to know what caused this error,
> though.

I suspect you had the file named lowercase and ran it (which compiled 
it and produced qry_docsearch...class) and then you changed the name of 
the file to mixed case and tried to run it again. CFMX tried to compile 
it as qry_DocSearch...class but Windows won't let you have two files 
that only differ by case).

My personal recommendation is to *always* use lowercase filenames *and* 
ensure that cfinclude, cfmodule and cfinvoke (and createObject / 
cfobject) match by only using lowercase names (for the external file / 
component). This will save you a lot of pain should you ever want to 
migrate to UNIX.

The only exceptions are Application.cfm and OnRequestEnd.cfm.

BTW, you can solve your original problem by deleting 
qry_docsearch...class from the WEB-INF/cfclasses directory under CFMX's 
wwwroot.

Sean A Corfield -- http://www.corfield.org/blog/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to