K
kleykir
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
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