_Layout.cshtml上的空例外 [英] Null Exception on _Layout.cshtml
问题描述
我在 中获得了null异常MVC应用程序中_Layout.cshtml上的App_Web _ * .dll。它标题但它也有价值。但是页面和控制器中没有任何东西是空的
帮助我..观察验证在页面中没有任何内容访问权限。
这段代码昨天完美无缺。为什么会这样?
帮助我..观察验证没有什么是null哪个访问权限在页面中。
此代码昨天完美无缺。为什么会这样?
某些对象 在某处是null,否则,当代码尝试访问内存中不存在的对象时,不会抛出异常。
http://forums.asp.net/1146的.aspx / 1?MVC的 强>
Hi,
I'm getting null exception in App_Web_*.dll on _Layout.cshtml in MVC application .It ponted Title But it has value too . But nothing is Null in the page and controller
Help me.. Watch verified that nothing is null which access in the page.
This code is perfectly working yesterday . Why this happen ?
Help me.. Watch verified that nothing is null which access in the page.
This code is perfectly working yesterday . Why this happen ?
Some object is null somewhere, because otherwise, the exception would not be thrown when code tries to access an object that doesn't exist in memory.
http://forums.asp.net/1146.aspx/1?MVC
这篇关于_Layout.cshtml上的空例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!