Error deploying WCF service in IIS8: HTTP error 404.3-not Found

Source: Internet
Author: User

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

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.