Getting an ASP.MVC2/VS2010 application to work in IIS 7.5

后端 未结 8 2036
生来不讨喜
生来不讨喜 2020-12-02 12:45

I\'ve recently downloaded beta 2 of VS2010 and started playing with ASP.NET MVC2. Initial development was done with Casini, but now I wanted to run the application from IIS

8条回答
  •  伪装坚强ぢ
    2020-12-02 13:06

    I've just had this problem, and unfortunately the fix here didn't work for me.

    What did work was running this:

    %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
    

    in a command window...works like a dream now!

    (So, is ASP.Net not installed into IIS by default when you install VS2010?)

提交回复
热议问题