". SVC" cannot be added to the IIS application extension ing.

Source: Internet
Author: User

If you try to publish the WCF Service to IIS, the following error occurs: "unable to access the XML page", as shown in:

 

 

I found a lot of materials, most of which are solved by re-registering the. NET Framework. Then, enter "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_regiis.exe-I" in the command line to reinstall IIS,

I tried it many times, but it still failed;

 

Later, someone suggested checking whether the SVC application was added to IIS.ProgramIng. Follow these steps:

 

 

(1) Click + on the left of the Local Computer to expand the local computer, right-click "website", select "default website", and select Properties-home directory-configuration;

 

 

 

(2) Click "add" and find the corresponding "aspnet_isapi.dll" file in the executable file column. At the beginning, the "Confirm" button is always grayed out, and the methods failed.

Finally, someone suggested to click the text box of the executable file and try again. It was a success !!! It's really a pitfall !!!,For example:

 

 

 

(3) This is not the climax !!! After executing the above series of operations, I tried to access the WCF page again. Nima still encountered the error "unable to display the XML page ". Is this killing me ?????

 

 

(4) This problem has been around for a long time and has not been solved yet. Mark it and wait for the experts to visit !!!

 

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.