使用 Coldfusion 设置 Flex 项目
我们最近为 Flex 构建器构建了一个新的开发服务器并安装了 Coldfusion 8。目前,我们使用 Coldfusion 7 在旧服务器上一切正常。我们将 services-config.xml 和我们的项目复制到新服务器。它编译得很好,我更新了对新服务器的所有引用。当我尝试运行 Flex 应用程序时,收到以下错误:
警告:无法从 http://localhost/ 加载策略文件crossdomain.xml
* 安全沙箱违规 * 与 http://localhost/flex2gateway/ 的连接已停止 - file://ourServer/folder/ourProject/ 不允许bin-debug/ourProject.swf
我们在本地主机上创建了一个有效的 crossdomain.xml 文件(我认为没有必要,因为所有内容都在同一服务器上)
知道我可以做什么或查看什么来解决问题吗?
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:
Warning: Failed to load policy file from http://localhost/crossdomain.xml
* Security Sandbox Violation *
Connection to http://localhost/flex2gateway/ halted - not permitted from file://ourServer/folder/ourProject/bin-debug/ourProject.swf
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已修复...我必须将“输出文件夹 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.