workaround, enter command-line mode as Administrator and run:
"%windir%\microsoft.net\framework\v3.0\windows Communication Foundation\servicemodelreg.exe"-r-y
==============================================================
-R-Reinstall this version of Windows communication Foundation,
and update the script map at the root of the IIS metabase and all of the following root
Script Mappings. The existing script is mapped regardless of the original version
Upgrade to this version.
-y-does not require confirmation before uninstalling or reinstalling the component.
==============================================================but this is 3.0, I can only see 4.0 according to the path, and also reported error:==============================================================
C:\windows\system32> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\ServiceModelReg.exe"-R
Microsoft (R) WCF/WF Registration tool version 4.5.0.0
Copyright (C) Microsoft Corporation. All rights reserved.
Management utility for managing the installation and uninstallation of WCF and WF components on a single computer.
[ERROR] This tool is not supported for this version of Windows. The administrator should instead use the turn Windows features on or off dialog box or the DISM command-line tool to install/uninstall the Windows Communication Foundation feature.
==============================================================
Follow the prompts to turn Windows features on or off in Control Panel, as shown, and check the required WCF services.
If I accidentally tried the 3.0 command (I was ...) ), re-use:
"%windir%\microsoft.net\framework\v3.0\windows Communication Foundation\servicemodelreg.exe" –ua
Just uninstall it for a moment.
Error deploying WCF service in IIS8: HTTP error 404.3-not Found