Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with CFSELECT and BIND finding CFC mapping.

Status
Not open for further replies.

Albion

IS-IT--Management
Aug 8, 2000
517
US
I am trying to get a CFSELECT to populate using bind. If I use:

Code:
<CFSELECT bind="[URL unfurl="true"]http://www.myDomain.com/CFC/file.cfc?method=getSizes({materialColor})">[/URL]
</CFSELECT>

my bind works. But if I use:

Code:
<CFSELECT bind="cfc:myCFC.file.getSizes({materialColor})">
</CFSELECT>

I get:

"The specified CFC myCFC.file could not be found. The path to the CFC must be specified as a full path, or as a relative path from the current template, without the use of mappings."

The Coldfusion exception log says the same. myCFC is setup as a mapping to the CFC directory in my Coldfusion server settings. I've tried putting the .cfc file in the same directory as the .cfm that calls it but I get the same error. It seems no matter where I put it and tell Coldfusion to look for it, unless I use http: I get that error.

I'm using Coldfusion 9 Developer with Apache 2.2.14 and PHP 5.2.11.

Thanks for any help you can give.

-Craig
 
Your CFC is file.cfc so why are you prefixing it with myCFC?

Vegans are friends, not food...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top