代码之家  ›  专栏  ›  技术社区  ›  pnewhook

Mvc音乐商店中的“/”应用程序出现服务器错误ASP.NetMVC示例移植到Mono

  •  0
  • pnewhook  · 技术社区  · 14 年前

    我现在正在移植 Mvc Music Store example 到Mono,进展很顺利,但我遇到了一个障碍,在其中一条路线上有一个尾随斜杠。母版页上有以下链接

    <a href="/Store/">Store</a>
    

    当我运行应用程序并导航到/Store/时,我得到以下错误

    Server Error in '/' Application
    
    The resource cannot be found.
    
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
    
    Requested URL: /Store/
    
    Version information: Mono Runtime Version: 2.6.7 (tarball Wed Jul 14 17:55:26 UTC 2010); ASP.NET Version: 2.0.50727.1433
    

    1 回复  |  直到 14 年前
        1
  •  0
  •   Mikayla Hutchinson    14 年前

    我不熟悉这方面的细节,但我建议您尝试与mono2.8预览,如果仍然失败,文件的错误。