If you’re deploying a WCF Web API application to your IIS 7.x you might receive a HTTP Error 404.0 (MapRequestHandler / StaticFile):As you know, WCF Web API relies on .NET Framework 4.0.So lets take a look into the application pool for our application:Everything looks fine here.So lets dig a little bit deeper – namely inspect the ISAPI Filters:Looks like ASP.NET 4 is missing here… so lets fix it:PS C:\Windows\Microsoft.NET\Framework64\v4.0.30319> .\aspnet_regiis.exe -i Start installing ASP.NET (4.0.30319). ........ Finished installing ASP.NET (4.0.30319). Now hit F5 in your browser:(If it’s not working after installing ASP.NET 4.0.x please review the version in your application pools settings again and fix it if necessary).
Related posts
HostForLIFE is European Windows Hosting Provider which focuses on Windows Platform only. We deliver on-demand hosting solutions including Shared hosting, Reseller Hosting, Cloud Hosting, Dedicated Servers, and IT as a Service for companies of all sizes.
We have offered the latest Windows 2019 Hosting, ASP.NET 5 Hosting, ASP.NET MVC 6 Hosting and SQL 2019 Hosting.
Sign in