Flash Remoting with Coldfusion problem

[FONT=Times New Roman][SIZE=3]Flash Remoting with Coldfusion[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]I have created a flash file that sends information to a coldfusion file (cfm). The CFM talks with a Microsoft access database, retrieves new information based off of the parameters that Flash has sent to it, then sends back to Flash new information. It works locally but as soon as I post it to the server and try to run it through IE, it no longer works. I cannot figure out why and have spent all day trying to figure it out.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Here is some of the code I am using from Flash:[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]import mx.remoting.*; [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]if (inited == null) { [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] inited = true;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] NetServices.setDefaultGatewayUrl(“http://localhost/flashservices/gateway”)[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] gateway_conn = NetServices.createGatewayConnection();[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]** myService = gateway_conn.getService(“sonographycme.cfm”, this); ***//Location of .as files[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]}[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]I read somewhere that the line: NetServices.setDefaultGatewayUrl(“http://localhost/flashservices/gateway”)[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]Only needs to be used for authoring purposes. I am not sure if I should comment this line out before I post it to the server. I have tried it both ways and I have not really noticed a difference.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]Locally, I am running a coldfusion built in webserver for authoring purposes but on the server for publishing, it is running IIS6. Not sure if this is causing an incompatibility issue either.[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]I am sure that the gateway is working locally AND on the remote production server as I can retrieve the “blank page” in both places. If I put the fully qualified URL to the remote production server’s gateway, I can also get data from the gateway… However, when I post it and serve the pages from the same server, it will not pass data to the swf embedded in a CFM file.[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman][/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman]As I have said before, I have been looking online for the solution all day and I have come up with several other forums where other people have come into the same problem but it never states how they have resolved it. Any help, as always, is greatly appreciated![/FONT][/SIZE]