title: Windows authentication prompt box
body: <p>I am getting the error-</p>
  
  <blockquote>
    <p>Server Error in '/' Application.</p>
    
    <p>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: Sections must only appear once per config file.
    See the help topic  for exceptions.</p>
  </blockquote>
  
  <p>Source Error: </p>
  
  <pre><code>Line 26:     &lt;authentication mode="Windows"/&gt;
  Line 27: 
  Line 28:     &lt;authentication mode="Forms"&gt;
  Line 29:       
  Line 30:       &lt;forms loginUrl="~/Account/Login.aspx" timeout="2880" /&gt;
  
  
  
  
  
  &lt;system.web&gt;
  
  &lt;authorization&gt;
  
    &lt;allow users="CTS\dilip,CTS\global"/&gt;
    &lt;deny users="*"/&gt;
  &lt;/authorization&gt;
  &lt;compilation debug="true" targetFramework="4.0" /&gt;
  
  &lt;authentication mode="Windows"/&gt;
  
  &lt;authentication mode="Forms"&gt;
  
    &lt;forms loginUrl="~/Account/Login.aspx" timeout="2880" /&gt;
  
  &lt;/authentication&gt;
  
  
  &lt;membership&gt;
    &lt;providers&gt;
      &lt;clear/&gt;
      &lt;add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
           enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
           maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
           applicationName="/" /&gt;
    &lt;/providers&gt;
  &lt;/membership&gt;
  
  &lt;profile&gt;
    &lt;providers&gt;
      &lt;clear/&gt;
      &lt;add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/&gt;
    &lt;/providers&gt;
  &lt;/profile&gt;
  
  &lt;roleManager enabled="false"&gt;
    &lt;providers&gt;
      &lt;clear/&gt;
      &lt;add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" /&gt;
      &lt;add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" /&gt;
    &lt;/providers&gt;
  &lt;/roleManager&gt;
  </code></pre>
  
  <p></p>