zoukankan      html  css  js  c++  java
  • 部署asp.net mvc(Identity)

    第一个问题,拒绝访问

    将应用池验证方式改位 Local System

    The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
    ~/Views/Home/Index.aspx
    ~/Views/Home/Index.ascx
    ~/Views/Shared/Index.aspx
    ~/Views/Shared/Index.ascx
    ~/Views/Home/Index.cshtml
    ~/Views/Home/Index.vbhtml
    ~/Views/Shared/Index.cshtml
    ~/Views/Shared/Index.vbhtml 
    
    [InvalidOperationException: The view 'Index' or its master was not found or no view engine supports the searched locations. The following locations were searched:
    
    

    这个问题难为了我半天,我在解决方案里查对半天也没发现哪里有错,然后重点来了,
    我的VS发布网站之后,文件夹有几个 .cshtml没发布出来,缺少文件,淦!!!
    自己把文件加过去就可以了。。。。。。

  • 相关阅读:
    【PKUWC2018】Minimax
    Codeforces Round #673
    【BZOJ1901】Dynamic Rankings
    【笔记】树状数组
    【CF1420E】Battle Lemmings
    Codeforces Round #672
    Problem A: STL——灵活的线性表
    algorithm
    iterator
    TRY vector
  • 原文地址:https://www.cnblogs.com/qzdd/p/13617069.html
Copyright © 2011-2022 走看看