Problems encountered when ArcGIS Server generates Web Application

Source: Internet
Author: User
Tags manual writing

There are two ways for as to generate a web application: one is to use the ADF for development, and the other is to use the create Web Application Command of as manager to generate a line without manual writing.CodeThe latter will generate a web application in c: \ Inetpub \ wwwroot \.ProgramTo access the services provided by the.

However, when the name attribute is set in step 1, a"Host Machine is invalid"Error, resulting in service failure. Looking up the network, there was no Chinese solution, as if the Chinese had never encountered this problem (maybe I did not find it deep enough). Later, I found a wide variety of statements on ESRI's forum, ESRI technical staff asked three questions. Later, a man said that the reason is that the Web is in the C: \ Inetpub \ wwwroot \ ArcGIS \ manager folder. config FileKey = "publishport" value = "8080"It should be changed to the default port, for example, 80. Later, someone jumped out and said that the root of the web. config file did not find the key. Another person said that this line of configuration was automatically deleted after the SP4 patch was applied.

Manually open web. config and add this configuration. Everything is OK !!!

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.