Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net 4.5 WCF Error 404.3 on IIS 7.5

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!

like image 410
Shlo Avatar asked Dec 27 '22 15:12

Shlo


2 Answers

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

like image 184
GONeale Avatar answered Dec 31 '22 01:12

GONeale


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

like image 21
Praburaj Avatar answered Dec 31 '22 02:12

Praburaj