[RPC Fault faultString="Error #2032: 流错误...](学习笔记)

来源:互联网 发布:唯美的句子 知乎 编辑:程序博客网 时间:2024/06/05 20:23

利用9.3+flex做QueryTask时候出现了[RPC Fault faultString="Error #2032: 流错误]的错误,原因如下:

在ArcGIS 9.3.1的环境下,初始化QueryTask时,需要将UseAMF设为false
在ArcGIS 10及以后的版本中,将UseAMF设为true,这样能够很大程度上的提高Flex的数据传输速度.


帮助文档原文如下:

Use AMF for execute() and executeRelationshipQuery(). Requires the server to be ArcGIS Server 10.0 or above, set to false if using earlier server versions. When useAMF is true, the BaseTask properties concurrency, requestTimeout and showBusyCursor are ignored。

 

转自:http://blog.csdn.net/lxping1012/article/details/7012674


原创粉丝点击