HTTP Error 403.14 - Forbidden - MVC 4 with IIS Express

后端 未结 9 1669
栀梦
栀梦 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:28

    You Should Go the username/ and enable it if not enable.

    0 讨论(0)
  • 2020-12-11 15:33

    Your routes seems fine. This should not cause any problem. The error is occuring only on http://localhost:49962/managescholars/ which means that there might be some other resource with same name. Can you make sure your code does not mistakenly creates a folder managescholars during execution?"

    0 讨论(0)
  • 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.

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