[ACCEPTED]-How to solve a "HTTP Error 404.3 - Not Found" error?-http-status-code-404

Accepted answer
Score: 27

Click Start -> Run cmd and type:

cd "\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation"
ServiceModelReg.exe -i

0

Score: 24

If you faced this problem for the first 2 time. with Windows 8 and IIS 8.0 make sure 1 to activate Windows Communication Foundation HTTP windows feature.

  1. Go to Control Panel select "Programs and features"
  2. From the lift hand side menu select "Turn Windows features on or off".
  3. Expand ".Net Framework 3.5 (includes .NET 2.0 and 3.0)" item
  4. Finally select "Windows Communication Foundation HTTP Activation"
  5. Enjoy your WCF Servcie.
Score: 10

The problem, however, is then to re-register 27 ASP.Net to IIS, which is explained below.

And 26 also if you're on a 64bit machine always 25 use Framework64 paths: C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe 24 -iru

Below is the explanation from Microsoft:

http://download.microsoft.com/download/0/A/E/0AEB3BC1-506E-4954-8AB1-4FA2EE75985C/ReleaseNotes.docx

When attempting to run a service that 23 receives messages over the HTTP transport, you 22 may receive an error similar to the following:

Server 21 Error in '/WCFApplication' Application

Could 20 not load type 'System.ServiceModel.Activation.HttpModule' from 19 assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Description: An 18 unhandled exception occurred during the 17 execution of the current Web request. Review 16 the stack trace for more information about 15 the error and where it originated in the 14 code. Exception Details: System.TypeLoadException: Could 13 not load type 'System.ServiceModel.Activation.HttpModule' from 12 assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

This 11 error can occur when IIS is installed after 10 installing .NET Framework 4, or if the 3.0 9 version of the WCF Http Activation module 8 is installed after installing IIS and .NET 7 Framework 4.

To resolve this problem, you 6 must use the ASP.NET IIS Registration Tool 5 (Aspnet_regiis.exe,) to register the correct 4 version of ASP.NET. This can be accomplished 3 by using the –iru parameters when running 2 aspnet_regiis.exe as follows:

aspnet_regiis.exe 1 -iru

And credit, where it's due: Source

Score: 6

I had to tick "HTTP Activation" in "Add 1 Role Services" within Windows Server 2012.

Score: 3

try to install IIS by expanding your Internet 4 information service and then check ASP.Net 3 3.5 or ASP.Net 4.5 and ISAPI.... in root 2 of world wide......... please look image 1 to more helpenter image description here

Score: 1

I tried running ServiceModelReg and aspnet_regiis.exe 6 with various flags and added HTTP Activation 5 feature but it still didn't work. What finally 4 worked was adding the following handler 3 manually to my web.config file.

<system.webServer>
    <handlers>
      <add name="svc-Integrated" path="*.svc" verb="GET,HEAD,POST,DEBUG" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />

My project 2 was running .Net 3.5 and IIS was 7.5 and 1 7.0.

More Related questions