Great advice Jeffry! While contacting my Hosting provider, I was reading a Macromedia article about creating CFC's. It mentioned to make sure you are in your ColdFusion wwwRoot Directory then create the CFC folder. I tried it and the component worked with the example. Also the components finally registered inside Dreamweaver. So I moved the folder down one directory to the Poolplayerz.com level. Everything went well. (locally and remotely)
I just dont understand why it would not read the CFC folder below the site root. When, in the documentation it says it searches methodically for CFCs. It must be the NOOB showing through :) Thanks for the help Jeff. All good over here! :) -Paul Dwinell Jeffry Houser wrote: > I wouldn't be surprised if a dot in the directory name might confuse it >when you are using "dot notation" To reference CFCs. I haven't tested that >specifically, though. > > Will your provider set up a CF mapping pointed toward your web root >directory? > > So, if they set up the a mapping called "PoolPlayCFMapping" which points >to "poolplayerz.com", you can access CFCs in your web root using: > > PoolPlayCFMapping.MyCFC > > In many cases I will store non-web-service CFCs outside of the web root, >and access them using a CF Mapping. > >PoolPlay > --> poolplayerz.com > --> CFC Dir > > >And the CF Mapping (PoolPlayCFMapping) points to the PoolPlay >directory. You can access the CFC like this: > > PoolPlayCFMapping.CFCDir.MyCFC > > > > >At 08:08 AM 11/8/2004, you wrote: > > >>Subject: CF Component addressing >>From: Paul Dwinell <[EMAIL PROTECTED]> >>Date: Mon, 08 Nov 2004 02:18:18 -0700 >>Thread: >>http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=148&forumid=15#461 >> >>Hello all! >> >>Any help would be much appreciated in this matter :) >> >>I am having trouble addressing for components OUTSIDE the calling page's >>directory. >> >>Works fine in the same directory calling the component by name. >> >>I tried the dot syntax but it doesnt seem to be finding it. My Hosting >>provider has set up directories as follows: >> >>Poolplay>poolplayerz.com>(web files) >> >>I have the folders set up the same way locally. >> >>Could it be the ".com " in the folder name? I tried "%2e " in Lieu of >>the dot but that didnt work either. I also read the documentation that >>says it searches for the component with a qualifying directory. I can't >>get into the administrator, so I have no clue what the qualifying >>directory would be other than the one above. >> >>Thanks for the help everyone! >> >>Paul >> >> > > > >-- >Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer >AIM: Reboog711 | Phone: 1-203-379-0773 >-- >My Books: <http://www.instantcoldfusion.com> >My Recording Studio: <http://www.fcfstudios.com> >My Energetic Acoustic Rock Band: <http://www.farcryfly.com> >-- >When did Reality Become TV > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:15:463 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
