Two problems with the original WebService after IIS is upgraded to 7.5

Source: Internet
Author: User

Recently I changed my laptop, the system changed from XP SP3 to Windows 7, and the IIS version also changed to 7.5. However, the original demonstration uses vs2008 to create a Web ServiceProgramNo longer working. Two problems occurred when calling Web service.

1. A 500.19 error occurs. Error message:

This configuration section cannot be used in this path. This situation occurs if this section is locked at the parent level. The lock is set by default (overridemodedefault = "deny"), or is explicitly set by the position that contains overridemode = "deny" or the old AllowOverride = "false.

It is found that ASP. NET is not installed when IIS is installed. See:

2. The following configuration error occurs:

The Section registered as allowdefinition = 'machinetoapplication' outside the application level is incorrect. This error may occur if the virtual directory is not configured as an application in IIS.

It is found that the virtual path is not configured as an application in IIS. In this case, the virtual path should be converted into an application. See:

After solving these two problems, the original Web Service is working again.

Related Article

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.