title: ASP.NET Runtime Errors Occuring in web.config file for .aspx framework 2.0 website
body: <p>I am receiving this error when I ftp my .aspx web page to a remote server hosted by Network Solutions. This code is in my web.config file and when I remove the tag I get another error about the targetFramework = 4.5 attribute not being recognized. This first error recommends that I set up a virtual directory using IIS, but I cannot access IIS Manager with my subscription to the remote server. Is There any workaround to solving this authentication mode tag error and even the unrecognized targetFramework attribute error without using IIS or is there any solution at all? Please help, and one last thing is that the web page is targeting the 2.0 framework, but the whole targetFramework = 4.5 thing is still there even though 4.5 has nothing to do with the web site and that tag and attribute is not even in my web.config file, which I find strange. What steps should I take to fix the issue. I'll once again note that I don't have access to IIS Manager because of my hosting subscription. This is all being used under Windows Servers 2003.</p>
  
  <blockquote>
    <p>Server Error in '/' Application. Configuration Error Description: An
    error occurred during the processing of a configuration file required
    to service this request. Please review the specific error details
    below and modify your configuration file appropriately.</p>
    
    <p>Parser Error Message: It is an error to use a section registered as
    allowDefinition='MachineToApplication' beyond application level.  This
    error can be caused by a virtual directory not being configured as an
    application in IIS.</p>
    
    <p>Source Error:</p>
  
  <pre><code>        ASP.NET to identify an incoming user. 
       --&gt;
       &lt;authentication mode="Windows" /&gt;
       &lt;!--
           The &lt;customErrors&gt; section enables configuration 
  </code></pre>
    
    <p>Version Information: Microsoft .NET Framework Version:2.0.50727.3649;
    ASP.NET Version:2.0.50727.3634</p>
  </blockquote>
  
  <p>Second issue that shows up:</p>
  
  <blockquote>
    <p>Server Error in '/' Application. Configuration Error Description: An
    error occurred during the processing of a configuration file required
    to service this request. Please review the specific error details
    below and modify your configuration file appropriately.</p>
    
    <p>Parser Error Message: Unrecognized attribute 'targetFramework'. Note
    that attribute names are case-sensitive.</p>
    
    <p>Source Error:</p>
  
  <pre><code> &lt;system.web&gt;
     &lt;compilation debug="false" targetFramework="4.5" /&gt;
     &lt;httpRuntime targetFramework="4.5" /&gt;
   &lt;/system.web&gt;
  </code></pre>
    
    <p>Version Information: Microsoft .NET Framework Version:2.0.50727.3649;
    ASP.NET Version:2.0.50727.3634</p>
  </blockquote>