1

呃……长标题。

正如它所说,当 asp.net 重定向到登录页面时,它会将 ?RequestUrl=/pathToSome/Action 添加到 url。发生这种情况时,我得到 YSOD :“找不到视图 '/PathToSome/Action' 或其主人。搜索了以下位置:”

关于为什么的任何想法?

谢谢布鲁诺

4

1 回答 1

1

(Copied answer from Spark discussion group)

Should be fine - if you start with a stock "new ASP.NET MVC project" and convert the views to spark it has the same type of url in the login page and works fine.

In the login action when you return View(x); could the request url be passed in accidentally as x?

于 2009-07-07T01:19:01.977 回答