IIS7 403 - Access Denied

前端 未结 7 1519
孤城傲影
孤城傲影 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:48

    A few things you should check.

    1. Did you set the directory that you unzipped your files in as an application in IIS? Is that application running .NET 3.5/4.0?

    2. Is your pipeline for the application pool running the application you have created above running in Integrated Mode or Classic Mode?

    Typically, when deploying an MVC app, a 403 is not a permission issue. It is telling you that directory browsing is not allowed. This is because without either of the 2 items above (or a custom wildcard mapping in IIS), the web server does not know how to handle routing, the basis of an MVC app.

提交回复
热议问题