asp.net mvc - InsufficentExecutionStackException in MVC Razor file -
so trying work asp net mvc 4.5 , working inside login razor view. page different rest have @ top
@model hsserver.models.loginmodel @{ viewbag.title = "log in"; layout = null; }
with layout = null;
not use master page.
i try run application , throws insufficentexecutionstackexception on line layout = null;
, says
insufficient stack continue executing program safely. can happen having many functions on call stack or function on stack using stack space.
can tell me going on!
edit
it appears not related layout = null
removing did not , moved error 1 line. still digging.
got it. duplicated this without knowing it.
in body calling @html.action("login")
, not @url.action("login")
meant to. page recursively calling instead of giving url... whoops.
Comments
Post a Comment