[IOErrorEvent type=“ioError” bubbles=false cancelable=false eventPhase=2 text=“Error #2032”]

左心房为你撑大大i 提交于 2019-12-24 02:39:08

问题


I am trying to display database details in a Flex datagrid and connected using HTTP Service. It was able to display details without any issue when I was working in the FlashBuilder 4.5, however, I deployed the bin-debug part in the Tomcat webserver to access it globally.

I am experiencing this error message when I am trying to access the swf file "HTTP request error Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://localhost:8084/UA/details.jsp"

I tried to create the crossdomain.xml file and deployed in the root directory but still experiencing the same error.

Here is my crossdomain.xml :

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
    <allow-access-from domain="*" secure="false"/>  
    <allow-http-request-headers-from domain="*" headers="*" secure="false" />
</cross-domain-policy>

Can any one help me out ?

Regards,

Serenity


回答1:


Have you checked permissions on all involved files? Are you sure the user running your 'application' has at least read permissions for the file?



来源:https://stackoverflow.com/questions/7193762/ioerrorevent-type-ioerror-bubbles-false-cancelable-false-eventphase-2-text-e

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