.Net 4.5 WCF Error 404.3 on IIS 7.5

4

I deployed a MVC4 web application including a wcf service. when i try to browse to the .svc file i receive Error 404.3 (Error Code 0x80070032).

I tried all the relevant answers i read: 1. adding a .svc mime 2. checking that the server's ISAPI filter include ASP.Net 4 bothe 32bit and 64bit. 3. checking that Server Managers Features include WCF Activation.

I already have a MVC3 web application with WCF service running on the same server.

Can you please point me to what can cause this problem?

I noticed that on IIS Manager in Handler Mapping there is a difference between the two domains running the applications. the working one is almost empty (include only StaticFile) while the new one has a long list of handlers enabled (I don't know if it is relevant or not).

Thank You!

wcf
iis
asp.net-mvc-4
.net-4.5
asked on Stack Overflow Nov 7, 2012 by Shlo

3 Answers

7

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

answered on Stack Overflow Mar 6, 2013 by GONeale
3

Run command aspnet_regiis -iru in command prompt as an admin and try again.

answered on Stack Overflow Nov 7, 2012 by Praburaj • edited Nov 7, 2012 by Praburaj
0

Make sure the two WCF services are not running on the same port -- that is, you are not connecting to the MVC3 WCF service. See How to consume multiple WCF services from one client for how to do this.

answered on Stack Overflow Nov 7, 2012 by reece • edited May 23, 2017 by Community

User contributions licensed under CC BY-SA 3.0