我的aspx页面的设计模式下显示的错误消息 [英] error message that are displayed in the design mode of my aspx page
本文介绍了我的aspx页面的设计模式下显示的错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的asp页面忽略了以下错误错误创建控件-contentObject引用未设置为对象的实例."在设计模式下,即使我在服务器上运行时也遇到任何问题.
My asp page dispay the following error "Error Creating Control - contentObject reference not set to an instance of an object." in the design mode even if i run it with any problem in the server.
推荐答案
对象引用未设置为对象实例
当您尝试使用对象的属性为null时,会发生此错误.
Object Reference not set to an instance of an object
This error happens when you try to use a property of an object that is null.
这应该有所帮助.
^ ]
This should help.
http://blogs.msdn.com/b/webdevtools/archive/2010/04/15/rendering-issue-in-visual-studio-2010-when-accessing-the-session-state-in-the-oninit-method.aspx[^]
听起来您的ASPX页面设计中包含一些"Control-contentObject",但未正确使用.确保正确形成了控制标签,并且定义了所需的属性.莫名其妙地没有初始化.
It sounds like your ASPX page design is having some ''Control - contentObject'' that is not properly being used. Make sure the control tag is correctly formed and the properties needed are defined. Somehow it''s not initialized.
这篇关于我的aspx页面的设计模式下显示的错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文