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
--
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/