As long as you mark the b sub-folder as an application in IIS that
error will go away.


On Fri, 25 Feb 2005 15:39:07 -0000, scaevola637 <[EMAIL PROTECTED]> wrote:
>  
>  As I understand it, for each web application there is one and only 
>  one global.asax.  However, is it possible to go from one web 
>  application to another "sub" web application, where another 
>  global.asax resides?  At that point, I could perform some 
>  authentication and authorization.  
>  
>  a-root folder <- public web site, open to anyone
>  b-sub folder <-- want to perform authentication and authorization 
>  here
>  
>  Unless I am not understanding S. Walther in chapter 19, he seems to  
>  imply one can go this.  
>  
>  ALso, I had the root web.config with no authorization/authentication
>  and in the subfolder webconfig set 
>  
>  
>    <authentication mode="Forms" />
>      <authorization>
>        <deny users="?" />
>  and i received this message: 
>  
>  Server Error in '/Corporate' 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 56:           (unauthenticated) users.
>  Line 57:     -->
>  Line 58:   <authentication mode="Forms" />
>  Line 59:    
>  Line 60: 
>  
>  
>  Source File: c:\inetpub\wwwroot\Corporate\DLCR\web.config    Line: 
>  58 
>  
>  
>  ---------------------------------------------------------------------
>  -----------
>  Version Information: Microsoft .NET Framework Version:1.1.4322.2032; 
>  ASP.NET Version:1.1.4322.2032 
>  
>  -thanks in advance
>  
>  
>  
>  
>  
>  Yahoo! Groups Sponsor 
>  
>  ADVERTISEMENT
>  
>  
>  ________________________________
>  Yahoo! Groups Links
>  
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to