使用 Coldfusion 设置 Flex 项目 [英] Setting Up Flex Project with Coldfusion
问题描述
我们最近为 flex builder 构建了一个新的开发服务器并安装了 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
我们在本地主机上创建了一个有效的 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屋!