Running Aspx Files with forms authentication alongide of asp pages

From: kleykir (Kleykir_at_gmail.com)
Date: 08/19/05


Date: Fri, 19 Aug 2005 11:18:37 -0400

I have a web page that is created in asp.net and uses FormsAuthentication.
All of the info for this is set in web.config file.. I copied the login
page, the actual page and web.config file to a virtual directory on IIS
which has a bunch of other asp pages that belong to the site..

Can I do this? also..when i tried doing this i got an error

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 5: <system.web>
Line 6:
Line 7: <authentication mode="Forms">
Line 8: <forms name=".ASPXAUTH" loginUrl="RightsLogin.aspx" />
Line 9: </authentication>

Thank you in advance
-Kleykir



Relevant Pages

  • https and virtual directories
    ... Parser Error Message: It is an error to use a section registered as ... So then I went into IIS and made that subdirectory a virtual directory. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • customErrors settings - iis virtual directory problem
    ... when i wanted add a page users get forwarded to when the authentication ... error can be caused by a virtual directory not being configured as an ... so i made the path an IIS virtual dir. ... Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)
  • WebService - Could not create type - ASP 2.0
    ... Parser Error Message: ... The service folder is set up as a virtual directory in IIS, ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Running Aspx Files with forms authentication alongide of asp pages
    ... you have to mark the virtual dir as an application in IIS ... Dominick Baier - DevelopMentor ... > FormsAuthentication. ... > error can be caused by a virtual directory not being configured as an ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Open-Source WilsonWebForm for Multiple Server Forms
    ... That means you have to first compile the demo -- and set it up in IIS as an ... application (virtual directory). ... "TJS" wrote: ... > Parser Error Message: ...
    (microsoft.public.dotnet.framework.aspnet)