title: ASP.NET error on IIS server
body: <p>Everything was fine on my workstation by testing localhost of my asp.net website using VS Express for Web 2012 with framework 4.5. I move my ASP.NET files to IIS Windows Server 2008 R2 using Remote Desktop Connection, then I test it there on localhost and it work fine. When I am ready to upload to IIS to test website with Application pool of ASP.NET Framwork Version 4.0, I got an Configuration error on website say that allowDefinition='MachineToApplication',</p>
  
  <pre><code>&lt;/controls&gt;
  &lt;/pages&gt;
  &lt;authentication mode="Forms"&gt;
  &lt;forms loginUrl="~/Account/Login.aspx" timeout="2880" /&gt;
  &lt;/authentication&gt; 
  </code></pre>
  
  <p>It come from Web.Config file.</p>
  
  <p>I don't know why I got error is it because I move my files from workstation or is it because my 4.5 framework do not match with IIS 4.0 framework. If IIS need to be upgraded then how or it can be easy modify from web.config? I don't want to change my 4.5 to 4.0 because it will screw up the coding and make it worse.</p>