Setting Up Flex Project with Coldfusion

本小妞迷上赌 提交于 2019-12-11 16:45:18

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/1335913/setting-up-flex-project-with-coldfusion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!