Skip to main content
Known Participant
June 17, 2010
Question

Moving a CF/Flex app from CF7 to CF9

  • June 17, 2010
  • 1 reply
  • 2389 views

I should start by saying that I know nothing about Flex, or Flash, so am probably missing something very basic.

I have inherited an application on a CF7 server which has to be migrated to a CF9 server. It uses Flex extensively. Both servers are Windows and IIS (though slightly different versions - I can look up details if it's relevant).

Migration strategy has been "default installation of eveyrthing, copy it all across, try it out and hope that it works." This has mostly been successful: I had to alter a lot of CFCs from access="public" to access="remote", and  a non-default “Enable Remote Adobe LiveCycle Data Management access” in CF ADmin, but I have one niggling problem.

The first time (and only the first time) a user tries to use the app, they get an error:

Fault[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error Invalid URL url: 'http:// (my url) /flex2gateway/'"]

If they refresh, this message goes away.

I could in theory tell them to hit refresh, as everything works fine after that, but it's not exactly a clean solution, and in any case, I'd like to understand what's going on. I've found a few descriptions of people with similar problems, but not quite the same, and too many of them refer to editing configuration files that I can't even find.

Any hints? It may well be something veyr basic and obviosu, because as I say, I know nothing of Flex.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 23, 2010

    You are not alone. I am experiencing the same issue. I was able to resolve this

    once, by reinstalling Flex Builder, but unfortunately can't narrow down what actually fixed the issue. I think the fix actually had something do with setting up the FB project again rather than Flex Builder itself. I will let you know how to resolve if I discover a fix for it, and i'll hope you might do the same.

    JaneUKAuthor
    Known Participant
    June 23, 2010

    "Setting up the FB project"? I don't even know what that means.... I'll go and find out what this is, and maybe do it.

    Did I mention that I know NOTHING about Flex?

    Participating Frequently
    June 23, 2010

    JaneUK,

    Sorry for the shorthand. FB means Flex Builder (IDE). But, since our applications work flawlessley once refreshed, I am inclined to believe that we are experiencing some sort of other problem. I am going to be looking into the IIS/Coldfusion configuration and try it from other browsers as well. I will keep you posted.