IIS express doesn't show index.cshtml in one folder but in other it shows

前端 未结 2 858
悲&欢浪女
悲&欢浪女 2020-12-22 06:34

I\'m developing an ASP.NET MVC 5 application with C# and .Net Framework 4.7.

I\'ve just created a new ASP.NET MVC 5 controller:

using System;
using S         


        
2条回答
  •  佛祖请我去吃肉
    2020-12-22 07:07

    The most likely cause for your HTTP Error 403.14 - Forbidden error is that you also have a folder in your app named Reports so its attempting to navigate to your folder, rather than your controller method.

    If so rename that folder to anything other than the name of one of your controllers.

提交回复
热议问题