Hi,

I seem to be getting this error all of a sudden on some test code that used to work.  Using Flex 2.  Here is a snippet:

Error: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 500"]

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
 xmlns:mx="http://www.adobe.com/2006/mxml"
 layout="absolute"
 creationComplete="initApp()"
   >

<mx:Script>
  <![CDATA[
   import mx.rpc.events.*;
   import mx.collections.ArrayCollection;
 
  
  public function initApp():void {
  
  artSvc.getArtists.send();
  }

  ]]>
 </mx:Script>

<mx:RemoteObject
 id="artSvc"
 destination="ColdFusion"
 source="myApp.cf.com.artists"
 showBusyCursor="true" />

<mx:Panel toolTip="Contacts" id="contacts" height="325" title="Contacts">
  
  <mx:HBox width="100%" height="100%">
   <mx:DataGrid dataProvider="{artSvc.getArtists.lastResult}" editable="true" resizableColumns="true" sortableColumns="true" height="100%">
    <mx:columns>
     <mx:DataGridColumn headerText="First Name" dataField="FIRSTNAME"/>
     <mx:DataGridColumn headerText="Last Name" dataField="LASTNAME"/>
     <mx:DataGridColumn headerText="City" dataField="CITY"/>
     <mx:DataGridColumn headerText="State" dataField="STATE"/>
     <mx:DataGridColumn headerText="Fax" dataField="FAX" />
    </mx:columns>
   </mx:DataGrid>
  </mx:HBox>
  
 </mx:Panel>

 

</mx:Application>

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to