ASP.NET : HTTP Error 404.3 – Not Found

How to solve the error ASP.NET : HTTP Error 404.3 – Not Found

I’m starting the first post by giving a solution to an issue that I faced when installing Visual Studio and IIS 7 in my new laptop, and trying to run my ASP.net web application.

Error Details :  HTTP Error 404.3 – Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
This error happens when you install IIS after Visual studio, so you have to configure ASP.net with IIS.

Solution: to solve this issue, you may use Aspnet_regiis.exe (ASP.net IIS registration tool, more info here), to do this, follow these steps:

  1. find  the path where aspnet_regiis.exe is situated, it should be situdated here :
    C:\Windows\Microsoft.NET\Framework\v4.0.30319
  2. run cmd as an administrator and  run aspnet_regiis.exe by typing this command line :
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
    (the option -i installs the current version of ASP.NET and configure IIS to use it)
  3. Run your web application again, that should work properly

Hope that was helpful.

2 responses to this post.

  1. We absolutely love your blog and find most of your post’s to be just what I’m looking for.
    Does one offer guest writers to write content available for you?
    I wouldn’t mind producing a post or elaborating on most of the subjects you write in relation to here. Again, awesome blog!

    Reply

Leave a comment