The view 'Index' or its master was not found or no view engine supports the

ASP.net  MVC 5  WebApi部署IIS提示:

未找到视图“索引”或其母版视图,或没有视图引擎支持搜索的位置。搜索了以下位置:

 

其他设置一切正常

 

 

 这种情况很有可能是,1、部署的路径中空格,MVC框架的系统必须不能有空格。2、部署的服务器文件夹不能共享

 

posted @ 2019-02-27 08:37  未风  阅读(1627)  评论(0编辑  收藏  举报