I am trying to use forms authentication. I have added this to a folder that
I want to protect.
(In my web.config file within my folder I want to protect
<authentication mode="Forms">
<forms name="UnsygnedLogged" loginUrl="../login.aspx" />
</authentication>
I am getting this error when I call a file within that folder
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 31: -->
Line 32:
Line 33: <authentication mode="Forms">
Line 34: <forms name="UnsygnedLogged"
loginUrl="../login.aspx" />
Line 35:
Source File: C:\Inetpub\wwwroot\unsygned20020826\loggedIn\web.config
Line: 33
any ideas on what I need to to to get forms authentication to work?
This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all copies.
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]