locked
Server 2012 R2, ASP.NET: “The page you are requesting cannot be served because of the extension configuration.” RRS feed

  • Question

  • User527435605 posted

    We've desperately been trying to get ASP.NET to work on our IIS8 Web Server running Windows Server 2012R2. We have scoured the internet for solutions everywhere, tried everything that we stumbled upon, and nothing worked at all.

    When trying to access our Hello World .aspx file, we are presented with this 404.3 error:

    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.

    We have installed all required server roles and features (even ones that "thanks, fixed the problem!" for other users as per existing problem posts); here are a bunch of screenshots from the Server Manager's Add Roles/Features dialog:

    • IIS HTTP Features and Application Development
    • .NET Framework 3.5 Features

    This is what our IIS Application pools look like:

    These are our Handler Mappings, which fully include mappings for .asp, .aspx, .cshtm and .cshtml:

    ASP.NET is allowed in our ISAPI restrictions:

    Configuration-wise, we have completely run out of reasons why it might not work. We have tried pretty much everything, including, but not limited to:

    • Rebooting the server and IIS multiple times, to no effect.
    • Uninstalling and reinstalling IIS8 and/or ASP.NET, both together and seperately, to no effect.
    • Uninstalling and reinstalling .NET Framework 3.0, to no effect.
    • Uninstalling .NET Framework 4.5, effectively putting the server into Minimal Core mode (as uninstalling .NET 4.5 also automatically uninstalls the Server GUI Shell, PowerShell and User Shell Infrastructures), completely reinstalling all of that, then reinstalling IIS and ASP.NET, to no effect.
    • Trying various different combinations of .NET versions and ASP.NET versions, to no effect.
    • Using 
      aspnet_regiis.exe -i
      , which is not supported on Windows Server 2012R2 and produces an error message pointing us towards the Add Roles/Features dialog in the Server Manager.
    • Praying to the holy Gods of Microsoft-based Server Technology, to no effect.

    We're really running out of air here. This is the most persistent, inexplicable and frustrating problem we have faced, and it's becoming tiring to keep on finding the same threads over and over again (we have even tried using various different search engines in hopes of stumbling across that one outlier case that mirrors ours!).

    We'd be incredibly grateful for any help regarding this matter. Whoever can help us solve this is granted our eternal gratitude and an honorary spot on our Wall of Fame as "Honorary Employee Of The Century".

    Saturday, April 23, 2016 4:35 PM

Answers

  • User-1315512054 posted

    Hello,

    You may also ask your question at http://forums.iis.net/. The same login as here.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 24, 2016 6:41 AM
  • User-166373564 posted

    Hello,

    ThePaSch

    HTTP Error 404.3 - Not Found+

    According to the error message, you need checkASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5.

    have a good day.

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 24, 2016 11:36 AM

All replies

  • User-1315512054 posted

    Hello,

    You may also ask your question at http://forums.iis.net/. The same login as here.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 24, 2016 6:41 AM
  • User-166373564 posted

    Hello,

    ThePaSch

    HTTP Error 404.3 - Not Found+

    According to the error message, you need checkASP.NET (.NET Extensibility, ISAPI Extensions, ISAPI Filters will be selected automatically). Double check that specific versions are checked. Under Windows Server 2012 R2, these options are split into 4 & 4.5.

    have a good day.

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, April 24, 2016 11:36 AM