I created a website using Visual Studio 2015. It has mostly static pages, but one aspx page. The whole thing runs fine under Visual Studio (debug mode) and also on the remote server (I used FTP when publishing it).
But when I tried to publish it to a folder on the local machine and run it with IIS there was a problem. It runs the static pages OK, but when I go to the aspx page an error is produced -
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....
I followed instructions (as best I could) and added a Managed Handler for .aspx file extensions.
System.Web.DefaultHttpHandler, System.Web, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
The same error continues to occur. I think it must be some configuration issue with the project or IIS, but I can't figure it out. Could someone please help me?