2
所以我正在尝试使用asp net mvc 4.5和我在我的登录剃须刀视图中工作。这页是与众不同,所以我必须在顶部MVC Razor文件中的InsufficentExecutionStackException
@model HSServer.Models.LoginModel
@{
ViewBag.Title = "Log in";
Layout = null;
}
与Layout = null;
,以便它不使用母版页。
我尝试运行应用程序,它抛出一个InsufficentExecutionStackException上线Layout = null;
并说
Insufficient stack to continue executing the program safely. This can happen from
having too many functions on the call stack or function on the stack using too
much stack space.
谁能告诉我是怎么回事!
编辑
看来,它不涉及到Layout = null
作为去除没有帮助,只是移动的错误一行。仍在挖掘。