zoukankan      html  css  js  c++  java
  • arcgis server for .net soapexcetion

    做一个简单的.net adf示例程序,在定位时报错:

    [SoapException: Error processing server request]
       System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1485877
       System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +221
       ESRI.ArcGIS.ADF.ArcGISServer.MapServerProxy.ComputeScale(MapDescription MapDescription, ImageDisplay MapImageDisplay) +117
       ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapFunctionality.GetScale(Envelope extent, Int32 mapWidth, Int32 mapHeight) +566
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map.get_Scale() +794
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map.setExtent(Envelope value, Boolean addSetExtentCallbackResult) +2556
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map.set_Extent(Envelope value) +39
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map.validatePrimaryMapResource() +2586
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map._OnLoad(EventArgs e) +115
       ESRI.ArcGIS.ADF.Web.UI.WebControls.Map.OnLoad(EventArgs e) +37
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

     

     

     

    1 将mapresource里服务删除,添加esri示例数据发布的服务,判断是程序问题还是数据问题

    2 检查服务对应的mxd是否隐藏了OID和shape字段,将其设为显示,重启服务

  • 相关阅读:
    linux安装uwsgi,报错问题解决
    centos7 安装 mysql
    centos7 安装 redis
    Python 第三方登录 实现QQ 微信 微博 登录
    39个前端精美后台模板
    Excel中replace函数使用方法
    Excel实用录入技巧
    Excel的快速录入
    Excel表格规范
    Excel快捷键大全 Excel2013/2010/2007/2003常用快捷键大全
  • 原文地址:https://www.cnblogs.com/myparamita/p/2594975.html
Copyright © 2011-2022 走看看