Error: A service or task is not accessible

文章编号: 448
软件: ArcGIS Server 9.3, 9.3.1
操作系统: N/A
已邀请:

易智瑞技术支持

赞同来自:

错误信息: 当用户使用ArcGIS API for Flex, ArcGIS Server task 或者service 不可用或不能理解、不能识别.
原因: 如果ArcGIS server 和Flex application 在Web server上没有主机名称或主机名称有错误, 或者当ArcGIS server 需要crossdomain.xml 文件在主目录下时,有可能产生这种错误.

解决方法: 出于安全原因,Web 浏览器不允许通过SWF文件来访问外部数据,然而Adobe Flash Player可以导入跨哉的数据通过服务器的授权,可以通过设置 crossdomain.xml 文件来远端的服务器上来允许flex的客户端进行调用这个服务 相关信息,请参照如下:
To deploy the cross-domain file on ArcGIS Server 9.3, see the instructions specific to your platform below or visit the
Resource Center help (Concepts > References > Using crossdomain.xml).
For additional information, read about
Using cross-domain policy files, see the Adobe TechNote, "
External data not accessible outside a (Macromedia) Flash movie's domain," or view a
sample cross-domain file.

  1. ArcGIS Server for the Microsoft .NET framework: Add crossdomain.xml to the Web server root directory; for example, C:inetpubwwwroot.
  2. ArcGIS Server for the Java platform: Add crossdomain.xml to <ArcGIS_Server_Install_Location>ArcGISjavaweb_output; for example, C:Program FilesArcGISjavaweb_output.




创建时间:2009-11-25
最近更新:2009-11-25


原文链接
http://support.esrichina.com.cn/2009/1125/448.html

要回复问题请先登录注册