Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

登录用户验证失败,跳转页面视图不存在 #20

Open
jetablezhu opened this issue Mar 26, 2015 · 2 comments
Open

登录用户验证失败,跳转页面视图不存在 #20

jetablezhu opened this issue Mar 26, 2015 · 2 comments
Labels

Comments

@jetablezhu
Copy link

如果填写的用户名密码错误,返回的View不存在。
异常截图

@magicodes
Copy link
Collaborator

好的,有空我测试一下。

@magicodes magicodes added the bug label Mar 26, 2015
@lovemory
Copy link

lovemory commented Apr 8, 2015

登陆页面 http://localhost:4780/admin/Account/Login
报错:

“/”应用程序中的服务器错误。

未找到视图“Login”或其母版视图,或没有视图引擎支持搜索的位置。搜索了以下位置:
~/Views/Parts/Login.cshtml
~/Plus/Plugins/Magicodes.Admin/Views/Account/Login.cshtml
~/Plus/Plugins/Magicodes.Admin/Views/Shared/Login.cshtml
~/Magicodes.Admin/Views/Account/Login.cshtml
~/Magicodes.Admin/Views/Shared/Login.cshtml
~/Views/Account/Login.cshtml
~/Views/Shared/Login.cshtml

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.InvalidOperationException: 未找到视图“Login”或其母版视图,或没有视图引擎支持搜索的位置。搜索了以下位置:
~/Views/Parts/Login.cshtml
~/Plus/Plugins/Magicodes.Admin/Views/Account/Login.cshtml
~/Plus/Plugins/Magicodes.Admin/Views/Shared/Login.cshtml
~/Magicodes.Admin/Views/Account/Login.cshtml
~/Magicodes.Admin/Views/Shared/Login.cshtml
~/Views/Account/Login.cshtml
~/Views/Shared/Login.cshtml

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants