ArcGIS Server "System.Web.Services.Protocols.SoapException:Error processing server Request".

Source: Internet
Author: User
Tags stack trace

Create the first program in Arcgis Server 10, error when running:System.Web.Services.Protocols.SoapException:Error processing Server Request

More information:

Server Error in '/' Application. Error processing Server request

Description: an Unhandled exception occurred during the execution of the current Web request. Review the stack trace for more information about the error and where it is originated in the code.

Exception Details: System.Web.Services.Protocols.SoapException:Error processing Server Request

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[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) + ESRI. ArcGIS.ADF.Web.DataSources.ArcGISServer.MapFunctionality.GetScale (Envelope extent, Int32 mapwidth, Int32 mapheight) +276 ESRI. ArcGIS.ADF.Web.UI.WebControls.Map.get_Scale () +346 ESRI. ArcGIS.ADF.Web.UI.WebControls.Map.setExtent (Envelope value, Boolean addsetextentcallbackresult) +1039 ESRI. ArcGIS.ADF.Web.UI.WebControls.Map.set_Extent (Envelope value) +7 ESRI. ArcGIS.ADF.Web.UI.WebControls.Map.validatePrimaryMapResource () +1468 ESRI. Arcgis.adf.web.ui.webcontrols.map._onload (EventArgs e) +89 ESRI. ArcGIS.ADF.Web.UI.WebControls.Map.OnLOad (EventArgs e) +5 System.Web.UI.Control.LoadRecursive () +74 System.Web.UI.Control.LoadRecursive () +146 system.web. Ui. Control.loadrecursive () +146 System.Web.UI.Page.ProcessRequestMain (Boolean Includestagesbeforeasyncpoint, Boolean Includestagesafterasyncpoint) +2207

Search online, some people say that the data is not a problem, there is a "stackexchange", said a broken English answer, the general meaning is to copy the project to "C:\inetpub\wwwroot", and then generate ... etc... Actually didn't solve my problem.

Finally find a different solution: do not put "Mapresourcemanager" and "map" in the same "div", and "map" in a separate "div", and the map "Height" and "Width" properties are set to " 100% "can be. For example:

1 <Div>2         <Esri:mapID= "Map"runat= "Server"Height= "100%"Mapresourcemanager= "Mapresmgr"Width= "100%">3         </Esri:map>4 </Div>

ArcGIS Server "System.Web.Services.Protocols.SoapException:Error processing server Request".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.