title: Object reference not set to an instance of an object in Visual Studio 2008
body: <p>Error when I am trying to display the form designer.</p>
  
  <p>Here is error image :
  <img src="https://i.stack.imgur.com/JlFb7.png" alt="Error Image in Visual Studio 2008"></p>
  
  <p><strong>Text Image:</strong></p>
  
  <pre><code>Instances of this error (1)  
  
  1.   Hide Call Stack 
  
  at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionHandlingConfigurationView.GetExceptionPolicyData(String policyName)
  at Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.ExceptionPolicyCustomFactory.CreateObject(IBuilderContext context, String name, IConfigurationSource configurationSource, ConfigurationReflectionCache reflectionCache)
  at Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.ConfiguredObjectStrategy.PreBuildUp(IBuilderContext context)
  at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)  
  
  Help with this error  
  
  MSDN Help   
  
  
  Forum posts about this error  
  
  Search the MSDN Forums for posts related to this error   
  </code></pre>
  
  <p><strong>Here is Source Code:</strong>
  <img src="https://i.stack.imgur.com/4P7T6.png" alt="Source Code Image"></p>
  
  <p>What's wrong with my coding? I use Visual Studio 2008 SP1 </p>