Solving the Location path problem in Visual Studio.NET 2005

Here is a work around to the problem I discussed in my previous post:

Just make a separate system.web element:

<configuration>
 
  <appSettings/>
    <connectionStrings/>

  <location path="Admin">
    <system.web>

      <authorization> 
        <deny users="?"/>
      </authorization>
      
    </system.web>
     </location> 
  
    
    <system.web>
      
      <compilation debug="true" />
      
      <authentication mode="Forms">
        <forms loginUrl ="Login.aspx" timeout ="10">
        </forms>
      </authentication>

     
    </system.web>
 
</configuration>

 

powered by IMHO 1.3

Print | posted @ Saturday, December 24, 2005 3:06 PM

Twitter