I suspect the location of the services-config.xml is your problem.

  The disk location of the services-config.xml needs to be the same on 
the 'live' machine vs your development machine.  That value is hard 
coded into the swf (unless you use a method such as this: 
http://www.mikenimer.com/index.cfm/2007/1/10/Bye-bye-services ).


Andrew Jones wrote:
> Hello - 
> I am having a serious issue and its driving me crazy.  I have a flex 2 app 
> and am using mx:RemoteObject - and when I push this to a live server it 
> always gives me the error, "Couldn't Establish a connection to Coldfusion".  
> I have google'd about as much as I can, and tried several things, and nothing 
> has worked once I push this up to the real server.
> 
> Here are some details:
> 1) The server IS updated to coldfusion 7.0.2 - I ran both the 7.01 updater, 
> then the 7.02 updater seperatly.
> 
> 2) I have tried to modify the cfroot/flex/services-config.xml to allow 
> mappings and this still will not work when I try it that way. 
> 
> 3) If I go to the mydomain.com/flex2gateway/ I see a blank page, when I go to 
> mydomain.com/flex2gateway (with no trailing /) I see, "500 No configured 
> channel has an endpoint path '/flex2gatewaynull'." as I am supposed to.
> 
> 4) I have attempted to manually add the path to the servers 
> services-config.xml file in my properties>flex compiler>addition arguments 
> and this does not work.
> 
> Please can someone help?  This is just about to drive me crazy
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4294
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to