Solution to the Problem of map errors when the path is opened directly

Source: Internet
Author: User

Problem description:
1. The server is configured successfully. (You can open the map in vs2005)
2. the following error is reported if you want to open it directly through the path:
Http: // XX/ArcGIS/services/XX/mapserver

"/ArcGIS/services" ApplicationProgramServer error.NO content Note:An error occurred while executing the current Web request. Check the stack trace information to learn about this error andCodeDetailed information about the cause of the error.

Exception details:System. Web. httpexception: NO content

Source error:

An unhandled exception is generated during the execution of the current Web request. You can use the following exception stack trace information to determine the cause and location of the exception.


Stack trace:

[Httpexception (0 x80004005): NO content] ESRI. arcGIS. webServices. baseservicehandler. readstringrequest (httprequest request) + 101 ESRI. arcGIS. webServices. baseservicehandler. querystringservice (httpcontext CTX) + 18 ESRI. arcGIS. webServices. baseservicehandler. queryservice (httpcontext CTX) + 53 ESRI. arcGIS. webServices. servicehandler. queryservice (httpcontext CTX) + 225

Version:Microsoft. NET Framework Version: 2.0.50727.42; ASP. NET version: 2.0.50727.42
3. Try to solve the problem, but the problem cannot be found in IIS.Arcgisoutput and c: \ arcgisserver \ arcgisoutput are empty

 

Solution: URL: http: // xxx/ArcGIS/rest/services/China-Mg/mapserver
In this way, you can open
Why add a/rest

 

 

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.