Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 28th, 2006, 05:58 AM
Registered User
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error while creating login page

Server Error in '/franchise' 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: Unrecognized configuration section 'forms'

Source Error:

Line 37: -->
Line 38: <authentication mode="Forms" />
Line 39: <forms name="franchise" loginUrl="default.aspx" protection="All" timesout="60">
Line 40: <authorization>
Line 41: <deny users="?"/>

Source File: E:\franchise\web.config Line: 39

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

Old January 28th, 2006, 07:53 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

Hi there,

The <forms> element is a sub element of <authentication>

However, in your example, you closed the <authentication> tag with a self closing /. Remove the / and add an additional </authentication> tag to the end, like this:

<authentication mode="Forms">
  <forms name="franchise" loginUrl="default.aspx" protection="All" timesout="60">

Also, timesout is not a valid attribute; this should be timeout.


Imar Spaanjaars
Everyone is unique, except for me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a login page in PHP bhavna General .NET 0 February 16th, 2007 07:32 AM
Creating a database login Apocolypse2005 PHP Databases 3 January 6th, 2006 01:59 PM
Creating Login code Matthew Access VBA 2 November 24th, 2005 04:32 AM
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM
Login Page Parser Error? jim.sullivan@telus.net Classic ASP Databases 3 July 27th, 2004 02:15 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.