title: iFrame parser error after upgrading to .NET 4.5
body: <p>We have recently upgraded all of our WebForms projects to .NET 4.5, and encountered a parser issue when loading pages with an <code>iFrame</code> element. We have corrected this by converting of the <code>iFrame</code> from <code>HtmlGenericControl</code> to <code>HtmlIframe</code>. This has corrected all of the parser errors when we run our code locally.</p>
  
  <p>When we deploy the app, we get the following error message:</p>
  
  <blockquote>
    <p>Parser Error Message: The base class includes the field 'frame', but its type (System.Web.UI.HtmlControls.HtmlIframe) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl).**</p>
  </blockquote>
  
  <p>When I deploy the old code with the <code>HtmlGenericControl</code> the error goes away suggesting that even though we have installed .NET 4.5, the server is still using an older version? </p>
  
  <p>I've tried removing and reinstalling .NET it making sure to register asp with IIS. </p>
  
  <p>Windows 2008 R2 with IIS 7.5 and .NET 4.5</p>