ok, it happened again. Charlie, to answer your question, this time I did
not create error. I just added a extra space and saved the cfc file and
refreshed the .cfm page and the error was gone.

We are not using application specific mappings at all i.e this.mappings in
application.cfc. We dont have any app-specific mappings for the app.

The only weird thing I have noticed is, we have this app setup as website.
So the error happens when i access the site page like this
qa.charlie.com/test.cfm. It doesnt happen if I access it like this
10.10.10.x/XYZ/test.cfm i.e. thats the ip address of our qa/dev server
followed by code folder located at C:\inetpub\wwwroot\XYZ. The error when
called via URL qa.charlie.com/test.cfm says XYZ/Employee.cfc not found.

So why does direct 10.10.10.x/XYZ/test.cfm works and not
qa.charlie.com/test.cfm? When accessed via URL, its looking for that CFC
under another sub XYZ folder(C:\inetpub\wwwroot\XYZ\XYZ\Employee.cfc) when
the site has been defined to use C:\Inetpub\wwwroot\XYZ as home directory
in IIS 6.0.

To make matters more interesting, we have atleast 20 cfcs under XYZ and
this error happens only on 2 CFCs. All others called from cfm pages work
just fine. Perhaps any error in 2 CFC's that might be causing this behavior?

Weird stuff.

<Ajas Mohammed />
iUseDropbox(http://db.tt/63Lvone9)
http://ajashadi.blogspot.com
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.



On Wed, Jun 27, 2012 at 11:34 AM, Charlie Arehart <char...@carehart.org>wrote:

> I’m curious: you refer to creating an error to somehow “force things
> loose”. I assume you refreshed the page after creating the error, right?
>
> But did you try also just making a change of any sort to the file, then
> refreshing it, then removing it, to see if that solved things? If you did
> do that, and it did not solve things, that would be interesting and also
> different from just creating an error. (If you did it, and it DID solve
> things, then it would point again to just being a matter of template
> caching, it would seem.)
>
> Here are some other thoughts: are you using an application-specific
> mapping (this.mappings in application.cfc) to point to this CFC? And even
> if not, do you have any app-specific mappings for the app in question?
>
> Just offering thoughts to move you toward a resolution.
>
> /charlie
>
> ****
>
> *From:* ad...@acfug.org [mailto:ad...@acfug.org] *On Behalf Of *Ajas
> Mohammed
> *Sent:* Tuesday, June 26, 2012 2:46 PM
>
> *To:* discussion@acfug.org
> *Subject:* Re: [ACFUG Discuss] CFC path - bind autosuggest issue****
>
> ** **
>
> Ok, I had another of these again, i.e. XYZ/Employee.cfc not found.
> Nothing had changed from last month or so.
>
>
> All I did was create an error in Employee.cfc and then remove it and the
> problem went away. Did the same with 2nd cfc XYZ/Department.cfc that was
> causing not found issue and both are working fine now.
>
> How weird is that?
>
> <Ajas Mohammed /> ****
>
> ** **
>
> -------------------------------------------------------------
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------
>

Reply via email to