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

后端 未结 8 2030
生来不讨喜
生来不讨喜 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?)

    0 讨论(0)
  • 2020-12-02 13:06

    Please note that you must run aspnet_regiis.exe -ir as administrator, it seems obvious but when you are tired of trying things with no success to solve that, you could pass it.

    Just to say a big THANK YOU to all the responses, after many hours trying different things, finally I could get work my MVC 2 app in IIS.

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