title: "object reference not set" displaying in Design view of asp.net default.aspx file in Visual Studio 2010
body: <p>I found another thread with a similar problem here:
  <a href="https://stackoverflow.com/questions/5448896/visual-studio-2010-cant-show-design-view">Visual studio 2010: Can&#39;t show design view</a>
  but in my case I'm not using a custom control.</p>
  
  <p>On a Win7 32 bit machine I am using Visual Studion 2010 to create an asp.net web applications using Visual Basic code.  I have added standard web controls to the default.aspx form.</p>
  
  <p>Yesterday I saved the project, ran it in debug mode for a bit, then closed Visual Studio (no changes made since last save).</p>
  
  <p>Today when I open the solution and look at the Design view of the default.aspx file, all the controls that should display instead say 
  "Error creating control - control-name.
  Object reference not set to an instance of an object"</p>
  
  <p>I made no changes to the solution.</p>
  
  <p>No errors are displayed in the error List.  The web app builds without error.  The app runs without error (in debug mode) and displays the controls correctly on the web page.</p>
  
  <p>I had a suggestion that the default.aspx.designer.vb file might be out of date.  The suggestion was to delete the file, create an empty file of the same name, open the solution, and resave the default.aspx file to regenerate the designer file.  I did that, and it had no impact.</p>
  
  <p>I have not installed any updates on my system.</p>
  
  <p>Other VS solutions for web apps that I used as a basis for this one still open fine.  They don't show this problem in their design views.</p>
  
  <p>All code is stored locally on the same machine as Visual Studio.  Version control is not in use.</p>
  
  <p>This is actually the second time this problem has happened to me with this project.  It happened two days ago.  At that time I started a new solution file, recreated the default.aspx (and code-behinds) from scratch, and then copied over my other code (class, module, and text files).  That is the solution file I'm working with now, and as I mentioned, it was working fine yesterday.  In both cases, I coincidentally had the same set of controls on the form when I closed the project for the day.  I have not tried to add anothe control to the form.</p>