i'm making a login page.
But when i run the code, an error occurs in the web.config file.
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.
Line 4: <authentication mode="Forms"
Web.config:
<configuration>
<system.web>
<compilation debug="true"/>
<authentication mode="Forms">
<forms name=".ASPXLIVRO" loginUrl="pagina_login.aspx" protection="All" timeout="60"/>
</authentication>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</configuration
What should i do?When i go to properties i don't see any button called "Create".
I use Win XP Pro.
Hi there,
As the error message suggests, you need to mark your folder as an application. To do this, open IIS Manager (start>run>inetmgr), and browse to your folder. Right click it, and goto proiperties. Towards the bottom of the dialog is a button called "Create". Click it, and you'll be good to go. :)
0 comments:
Post a Comment