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
作爲去除沒有幫助,只是移動的錯誤一行。仍在挖掘。