HTTP Error 403.14 - Forbidden IIS Error for ASP.Net MVC 4 Application

前端 未结 13 1966
情书的邮戳
情书的邮戳 2020-12-05 02:52

we developed an asp.net mvc 4 application. in vs 2012 this work fine. we publish this web application and putting it on iis 7.5, but when we want to browse web application t

13条回答
  •  臣服心动
    2020-12-05 03:24

    In my case the problem was with the Physical Path setting.

    It was pointing to C:\inetpub\wwwroot\MySite

    but the imported site was actually at C:\inetpub\wwwroot\MySite\Default Web Site\MySite

    I changed the path in iis via MySite -> Edit Site -> Basic Settings and I was off to the races.

提交回复
热议问题