HTTP Error 403.14 - Forbidden - MVC 4 with IIS Express

后端 未结 9 1675
栀梦
栀梦 2020-12-11 14:41

This seems like a question that has already been asked/answered many times. Its not.

Development Environment: VS 2012 and MVC 4. I am using the buil

9条回答
  •  春和景丽
    2020-12-11 15:33

    I know original question is answered but below worked in my case. I got exact same issue on VS2013 using IIS Express. In my case visiting /Login was not getting Index action in LoginController. There was no physical folder when I checked but after more digging I found there was virtual directory created on IIS Express for /Login path which caused this. I deleted the virtual directory from applicationhost config(Documents\IISExpress\config) to resolve issue.

提交回复
热议问题