Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

New to .cfc files : Do I have to register application.cfc with CFadministrator?

Participant ,
Mar 23, 2011 Mar 23, 2011

I am using an application.cfc file for the first time ands I cant seem to get it to work.

Do I need to register the application.cfc in the CF administrator in order for it to work?

I actually have  2 cfc files application.cfc and mylist.cfc

Do I need to register both of these in the CF administrator?

748
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Mar 23, 2011 Mar 23, 2011

No, you shouldn't have to register any CFC for it to work.

Ben Nadel has a pretty detailed tutorial on Application.cfc, I recommend reading through that as a good starting point.  It's a little outdated as I think it was written for CF 7, though. http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com
Translate
Explorer ,
Mar 23, 2011 Mar 23, 2011

No, you shouldn't have to register any CFC for it to work.

Ben Nadel has a pretty detailed tutorial on Application.cfc, I recommend reading through that as a good starting point.  It's a little outdated as I think it was written for CF 7, though. http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm

-- 

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Mar 24, 2011 Mar 24, 2011
LATEST

Note the important difference in the file names.

Your post used the file name "application.cfc", the reply by ecobb used the file name "Application.cfc".  That capitol "A" is a significant difference on *nix systems.  The lower case "application.cfc" does not do anything, you MUST use the upper case "Application.cfc".

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources