ASP.NET MVC on IIS falls through to the static file handler

前端 未结 5 1489
抹茶落季
抹茶落季 2020-12-24 07:33

I have a problem with an ASP.NET MVC site.

These are the details:

  1. ASP.NET MVC 2
  2. ASP.NET 4 integrated pipeline
  3. IIS 7.5 on Windows Web
5条回答
  •  南笙
    南笙 (楼主)
    2020-12-24 08:01

    Chris' answer got me to check whether the app pool was actually configured for .net 4. Sure enough, this server defaults to creating 32-bit .net 2 pools in classic mode.

    Ensure that your app is using 4.0 and you'll probably want Integrated pipeline for all new development. 32/64 is mainly up to your dependencies. The default is leaving "allow 32 bit allocations" set to false.

提交回复
热议问题