How do I fix 404.17 error on Win Server 2k8 and IIS7

前端 未结 16 1423
走了就别回头了
走了就别回头了 2020-11-30 11:30

I\'ve setup a new .net 2.0 website on IIS 7 under Win Server 2k8 and when browsing to a page it gives me a 404.17 error, claiming that the file (default.aspx in this case) a

相关标签:
16条回答
  • 2020-11-30 11:41

    We needed to install ASP.NET 3.5 and 4.5, ISAPI Extensions, ISAPI Filters and Server Side Includes, in the Windows Features menu under IIS Development Features.

    Alternatively, do with the command line DISM:

    Dism /online /enable-feature /featurename:NetFx3 /All /Source:WindowsInstallers\Win8\sxs /LimitAccess
    Dism /online /enable-feature /featurename:NetFx4 /All /Source:WindowsInstallers\Win8\sxs /LimitAccess
    Dism /online /enable-feature /featurename:IIS-ISAPIExtensions /All /Source:WindowsInstallers\Win8\sxs /LimitAccess
    Dism /online /enable-feature /featurename:IIS-ISAPIFilter /All /Source:WindowsInstallers\Win8\sxs /LimitAccess
    Dism /online /enable-feature /featurename:IIS-ServerSideIncludes /All /Source:WindowsInstallers\Win8\sxs /LimitAccess
    
    0 讨论(0)
  • 2020-11-30 11:42

    Always try "Revert to Parent" in Handler Mappings first.

    I was getting 404.17 when trying to run ASP.NET 4.0 in IIS 7.5. I tried all of the above and eventually got the correct Handler Mappings manually set up and the error went away.

    Then, on yet another website with the same error, I tried "Revert to Parent" in Handler Mappings and it added 6 *.aspx mappings and everything worked perfectly.

    Obviously, you'd have to have the parent configured properly (from the install or otherwise), but this is definitely the first step everyone should take since it is so easy.

    0 讨论(0)
  • 2020-11-30 11:43

    This solution worked for me... (I've had aspnet_regiis.exe -i do some damage)

    http://forums.iis.net/t/1157725.aspx

    1. Locate your App Pool and Right Click
    2. Select Basic Settings
    3. Select your current .Net Framework Version
    4.Restart the App Pool 
    0 讨论(0)
  • 2020-11-30 11:43

    For me, this worked. Installs machine configuration sections, handlers, assemblies, modules, protocols and lots of other thing to work things properly.

    0 讨论(0)
  • 2020-11-30 11:44

    For me it worked by doing the following

    Install ASP.NET

    cd %windir%\Microsoft.NET\Framework64/v4.0.30319
    aspnet_regiis.exe -i
    
    • Next Go to IIS Manager and click on the server (root) node.
    • In features view, IIS section, open "ISAPI & CGI Restrictions"
    • Right-click the ASP.NET 4 restriction column and right-click to Allow

    Hope it works for you..

    0 讨论(0)
  • 2020-11-30 11:47

    Only one way to solve this problem...

    First Installed Windows7 Then Install IIS 7 with all features

    And then installed Visual Studio 2008 / 2010

    I work on visual studio 2008 and 2010 but I never seen this error before.

    I can also try on my friend's PC. And also I solve this error.

    0 讨论(0)
提交回复
热议问题