Doesn't have to be in the same location, just needs the same schtuff in it. eg, I had local dev pointing to c:/foo/ssl-services-config.xml. Compiled the swf, copied to server, no issue and server had c:/jrun4\....\services- config.xml. In my case, had special SSL settings.
DK On 7/1/07, Jeffry Houser <[EMAIL PROTECTED]> wrote: > > 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.01updater, > > 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 > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4295 Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37
