ASP.NET MVC on IIS 7.5

前端 未结 28 2032
北荒
北荒 2020-11-22 11:33

I\'m running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it. <

28条回答
  •  情话喂你
    2020-11-22 12:14

    Adding another solution for this issue.

    in my Global.asax.cs file I had disabled attempted php files from being consumed by the MVC pipeline using the following:

    routes.IgnoreRoute( "{*php}" );

    I had done these previously in a MVC2 project and it worked fine, but doing this in my MVC 3 app caused the issue reported above.

提交回复
热议问题