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 !!!