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

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -