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

前端 未结 16 1437
走了就别回头了
走了就别回头了 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条回答
  •  猫巷女王i
    2020-11-30 11:30

    For me, my problem came because of a setting in my project's web.config file (and also the solution, once I understood the problem).

    In my web.config file, we had these two lines in the system.webServer > handlers area:

    
    
    

    Notice the alternative handler has the attribute 'preCondition="integratedMode"'. So, I had to change my AppPool to use Integrated instead of Classic for my pipeline mode setting (which is the opposite of what the solutions above told me to do).

提交回复
热议问题