Skip to main content
BreakawayPaul
Inspiring
June 16, 2009
Answered

CF Apps "broken" after server upgrade.

  • June 16, 2009
  • 1 reply
  • 946 views

My office has a setup where we have a development server and a live server.  Everything gets coded and tested on the development server before being copied to the live one.

Last week, the live server was replaced with a new machine.  After the upgrade, we're getting error messages on several CF pages.  The errors are as follows:

Could not find the ColdFusion Component or
Interface 

Trouble is, the component is there, and the app works fine on the development server.

I've tried fiddling with the path in the cfinvoke tag, with limited success.  If all the files are in one directory, removing the path totally seems to fix it.  But if the application.cfm is in /directory and the cfc is in /directory/components, then fiddling with the path doesn't help at all.

I'm thinking that maybe this is a CF Administrator thing, where some mappings on the old server were not duplicated on the new one.

It's very difficult to troubleshoot since it works fine in my development environment.

Any advice would be appreciated.

    This topic has been closed for replies.
    Correct answer ilssac

    BreakawayPaul wrote:


    I'm thinking that maybe this is a CF Administrator thing, where some mappings on the old server were not duplicated on the new one.

    I'm thinking you are probably correct.

    There was probably a mapping defined in the CF Aministrator under 'Mappings' for where the the Components live.

    1 reply

    ilssac
    ilssacCorrect answer
    Inspiring
    June 16, 2009

    BreakawayPaul wrote:


    I'm thinking that maybe this is a CF Administrator thing, where some mappings on the old server were not duplicated on the new one.

    I'm thinking you are probably correct.

    There was probably a mapping defined in the CF Aministrator under 'Mappings' for where the the Components live.

    BreakawayPaul
    Inspiring
    June 16, 2009

    Thanks Ian, I'll have them look at that.

    And in case this makes any difference, they just now saw it fit to tell me (one week later) that they also upgraded ColdFusion when they made the change.

    New version: 8

    Previous version: 6.0

    Not sure if this is partially or wholly responsible for the errors.

    Not to mention how much fun it'll be to develop apps in 8 when the development server is still on 6.0

    ilssac
    Inspiring
    June 16, 2009

    That is interesting all right.  I beleive most oranizations go the other way, upgrade development test everything and then move out to production not vice-versa.