Can't Find Components!

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Can't Find Components!

    We have a development server with a C drive. The C has coldfusion server and
    finds components perfectly.

    When we push code up to one of our production servers it can't find the
    components. The configuration is a C drive and a D drive. The C has
    inetpub/wwwroot/CFIDE and the D drive has coldfusion server installed on it
    along with the website code.

    On a second production server we hace a C drive and a D drive. The C drive has
    inetpub/wwwroot/CFIDE AND coldfusion server on it, with the website code on the
    D drive. This finds coldfusion components perfectly.

    The code used to find components is: createObject('component',
    'components.componentFolder.componentName')

    Is it possible the location of the coldfusion server on the first production
    server is causing this problem? We do not use mappings on any server since we
    have never needed to. I thought coldfusion was supposed to follow its sequence
    to identify where the component is located in the directory structure.

    Any ideas on how to correct this issue?

    Thanks!

    Snazzo Guest

  2. Similar Questions and Discussions

    1. Using DW find to find tags not on page
      I transfering content from 1498 static pages into a MySQL database. I've isolated 1450 pages with single h1 or h2 tags that I can use in the title...
    2. DW and CF Components
      I have written several components and they (I think) look exactly like the one in my CFMX7 Web App Const. Kit book. However, when I view them...
    3. How to use components
      For example, I draw a combobox, I want to load the certain movie when the change event is triggered. How to do that?
    4. trailing slash issue in Find.find
      require "find" Find.find("/usr/bin/") { |file| puts file } /usr/bin//rmdir /usr/bin//rm /usr/bin//mv /usr/bin//mknod /usr/bin//mkfifo...
    5. ASP.NET & COMPONENTS
      I am developing a component in VS.NET that is going to hosted on an APSX page. Is there a way I can get a reference to the page from the component....
  3. #2

    Default Re: Can't Find Components!

    Snazzo wrote:
    > The code used to find components is: createObject('component',
    > 'components.componentFolder.componentName')
    and "components" is a cf mapped dir? then map it the same on your production boxes.
    PaulH **AdobeCommunityExpert** Guest

  4. #3

    Default Re: Can't Find Components!

    Components is a directory in the root of the website. There are no mappings necessary for this to work on development or on the second production server.
    Snazzo Guest

  5. #4

    Default Re: Can't Find Components!

    Snazzo wrote:
    > Components is a directory in the root of the website. There are no mappings
    > necessary for this to work on development or on the second production server.
    ok, i seemed to have skipped that part in your message. what happens if you
    stick a plain jane HTML page in that dir? can you successfully call it?
    PaulH **AdobeCommunityExpert** Guest

  6. #5

    Default Re: Can't Find Components!

    All pages work perfect in any of the three environments. The only time I get a
    variance is when I try to reference a component. createObject('component',
    'components.componentFolder.componentName') gives me the error where is says it
    can't find the component or it doesn't exist.

    Everything else works as expected, so that led me to question the sequence
    that coldfusion finds the components as the possible culprit.

    Snazzo Guest

  7. #6

    Default Re: Can't Find Components!

    Snazzo wrote:
    > All pages work perfect in any of the three environments. The only time I get a
    and a plain page works in that specific dir?
    PaulH **AdobeCommunityExpert** Guest

  8. #7

    Default Re: Can't Find Components!

    Yes it does.
    Snazzo Guest

  9. #8

    Default Re: Can't Find Components!

    Snazzo wrote:
    > Yes it does.
    that's rather odd. if you can get to an html or cf page then you should be able
    to get to a CFC as well. something simple? spelling error?
    PaulH **AdobeCommunityExpert** Guest

  10. #9

    Default Re: Can't Find Components!

    It has nothing to do with spelling. The exact same code base on the second production server works perfect and finds the components as expected.
    Snazzo Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139