1 Reply Latest reply on Jul 11, 2006 6:44 AM by JFAM

    Error finding CFC

    Dr._Goomba Level 1
      Im having a problem with the HellowWorld example posted at the dev center. i keep receiveing an errro saying ... "coult not find the coldfusion component HelloWorld".

      Here are where my files lie
      C:\CFusionMX7\wwwroot\HelloWorld_ro\HelloWorld_ro.mxml
      C:\CFusionMX7\wwwroot\HelloWorld_ro\HelloWorld.cfc

      My remoteObject looks like:
      <mx:RemoteObject id="myService" destination="ColdFusion" source="HelloWorld" showBusyCursor="true">
      <mx:method name="sayHelloString" result="handleStringResult(event)" fault="Alert.show(event.fault.message)"/>
      </mx:RemoteObject>

      So HelloWOrld is in the top directory as the mxml, i dont understand why it cant find it!?

      Thanks for any help!
        • 1. Re: Error finding CFC
          JFAM
          Did you tried to set the channelSet property on your remote object ?
          The channel set should have an AMFChannel instance mapped to your CF/AMF message broker url (same as the channel declaration in your cf/flex configuration file).