3 Replies Latest reply on Dec 13, 2006 8:38 AM by NeoSadikh

    CreateObject

    NeoSadikh
      I have folders 'Model' and 'View' at the root folder of my application. And in 'Model' folder I have test.cfc. When I am creating the instance in of 'test.cfc' in file1.cfm which is at root folder like
      <cfscript>
      obj_test = createObject("component","model.test");
      </cfscript>
      its functioning, but if I do the same in file2.cfm which is in 'view' folder, its showing " Could not find the ColdFusion Component"
      The strange thing is its perfectly working at my local machine with the same folder structure but not in the testing server!!! Anyone can help???