Just wanted to respond to this and note that this was my issue as well. I had a cflocation redirect in my application.cfm that was commented out with an HTML comment tag, instead of a CFML comment tag. Fixed the comment tag and now my CFC mapping works, YAY! Also would like to note that using the Charles proxy software that I just discovered helped me confirm that the redirect was taking place, after this thread clued me in.
--- In [email protected], Rick Root <rick.r...@...> wrote: > > Rick Root wrote: > > > > Okay, I copied the files to production and clearly it doesn't work. I > > get an RPC error "channel disconnected before an acknowledgement was > > received" - yet another error that doesn't show up in google. > > > > Anyway... how do I recompile for production without making an entirely > > new project? I tried changing my flex server path and compiler options > > to the production server but I'm still getting the error now :( > > This was related to my application.cfm, actually. I had the following > code in my application.cfm: > > <cfif CGI.HTTP_HOST contains "it.dev.duke.edu" AND CGI.HTTPS neq "on"> > <cflocation url="#currentURL#" addtoken="no"> > </cfif> > > this meant things worked fine on my local server, but the redirect > messed up calls to the flex gateway in production. I didn't consider > that remoting calls would still go over port 80 even if the page is secure. > > anyway, after I added some code to bypass that if it was a remoting > call, all worked fine when I copied files from local machine to production. > > Rick >

