How to resolve "Server Error in '/' Application" error?
<p>I am trying to deploy an asp.net application in our server while I am receiving the following error.</p>

<pre><code>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. 
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.
Source Error: 
Line 63:             ASP.NET to identify an incoming user. 
Line 64:         --&gt;
Line 65:                  &lt;authentication  mode="Windows"/&gt;
Line 66:                  &lt;!--&lt;forms loginUrl="~/SCR.UI/Login1.aspx"/&gt;
Line 67:                  &lt;/authentication&gt;--&gt;
Source File: D:\BarclaysPayamentManagementSystem\scr.ui\web.config    Line: 65
</code></pre>

<p>What is the reason and how to resolve it?</p>

<p>Please help
<hr /></p>
