Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Forms based authentication


Message #1 by "Jan Arve Dyrnes" <jan.arve@c...> on Thu, 13 Jun 2002 20:52:52 +0200
Hi,

I get the following Error when e try the sourccode from Prof ASP.NET chapter
14. Any ideas?


Server Error in '/ProASPNet' 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 2:  	<system.web>
Line 3:
Line 4:  	  <authentication mode="Forms">
Line 5:  		<forms name="MyApp01" path="/" loginUrl="custom-login.aspx"
Line 6:  			   protection="All"  timeout="30" >


Source File: C:\WROX_CODE\ProfASPNEt\7035_CS\Pro ASP.NET CS\14 - Securing
ASP.NET Applications\custom-forms-based\web.config    Line: 4


----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET
Version:1.0.3705.0


  Return to Index