IIS7 403 - Access Denied

前端 未结 7 1518
孤城傲影
孤城傲影 2021-01-05 00:16

I am trying to deploy a website that I have built in mvc3 on an server that runs iis7. I was able to get it running through the iis7 locally on my laptop, but when I try to

7条回答
  •  北荒
    北荒 (楼主)
    2021-01-05 00:58

    1. Create a new MVC 3 internet app with all the defaults. Run on local IIS server.
    2. Move app to server and add it as an application.
    3. Test local access on the server (browse 80 from IIS manager).
    4. Don't shotgun twiddle all the permissions until you figure out the problem.
    5. See my blog http://blogs.msdn.com/b/rickandy/archive/2011/04/22/test-you-asp-net-mvc-or-webforms-application-on-iis-7-in-30-seconds.aspx

提交回复
热议问题