我目前正在将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
然而,当我拿走尾随斜线时它工作正常。我已经看到其他帖子和问题表明这是Windows虚拟目录在部署到IIS时出现的问题,但我不确定在使用openSUSE 11.3和Mono 2.6.7以及MonoDevelop 2.4的linux上有什么问题。
答案 0 :(得分:0)
我不熟悉这方面的细节,但我建议您尝试使用Mono 2.8预览,如果仍然失败,请提交错误。