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

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

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

其他设置一切正常

 

 这种情况很有可能是,部署的路径中空格,MVC框架的系统必须不能有空格。

猜你喜欢

转载自www.cnblogs.com/weifeng123/p/10441355.html