使用ColdFusion设置Flex项目 [英] Setting Up Flex Project with Coldfusion

查看:220
本文介绍了使用ColdFusion设置Flex项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近为flex builder创建了一个新的dev服务器,并安装了coldfusion 8.我们目前使用coldfusion 7来处理我们的旧服务器。我们将services-config.xml和我们的项目复制到新服务器。它编译正常,我更新了对新服务器的所有引用。当我尝试运行flex应用程序时,收到以下错误:

We recently built a new dev server for flex builder and installed coldfusion 8. We currently have everything working on our old server using coldfusion 7. We copied the services-config.xml and our project over to the new server. It compiled fine, I updated all references to the new server. When I try to run the flex application I receive the following error:

警告:无法从 http://localhost/crossdomain.xml

*安全沙箱违规*
连接到 http:// localhost / flex2gateway / 已暂停 - 不允许从file:// ourServer / folder /ourProject/bin-debug/ourProject.swf

* Security Sandbox Violation * Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf

我们在localhost上创建了一个有效的crossdomain.xml文件(我认为这是必要的,因为一切都在同一个服务器)

We created a valid crossdomain.xml file on the localhost (which I wouldnt think would be necessary since everything is on the same server)

任何想法我可以做什么或看看来解决问题?

Any idea what I can do or look at to resolve the problem?

推荐答案

固定它...我不得不设置设置为空白的输出文件夹URL。当我去调试程序,它加载它到浏览器作为\myserver\myproject\ ...当我设置输出文件夹URL它加载为 http:// outputFolderURL ,并更正问题。

Fixed it... I had to set the "Output Folder URL" which was set to blank. When I went to debug the program it loaded it into the browser as \myserver\myproject\ ... when I set the Output Folder URL it loads as http://outputFolderURL and corrects the problem.

这篇关于使用ColdFusion设置Flex项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆