VS2010 出现错误提示“Error Creating Control - Object reference not set to an instance of an objec” 的解决方法

改别人的程序时发现了这个问题。

一个WebApplication程序,在页面的设计模式下,所有服务器控件的位置出现一行红字“Error Creating Control - Object reference not set to an instance of an object”,无法进行控件拖放,只能在手工编辑代码,很是郁闷。

Google了一下,发现了这篇博客,里面描述的信息和我遇到的问题一样,原来是VS2010的Bug,照着修改一下就好了。

posted @ 2010-08-15 10:42  说不得  阅读(2561)  评论(2编辑  收藏  举报