Subject: Error while creating login page
Posted By: manash.2005 Post Date: 1/28/2006 4:58:08 AM
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

Reply By: Imar Reply Date: 1/28/2006 6:53:30 AM
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">
</authentication>
<authorization>
...

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

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.

Go to topic 39259

Return to index page 384
Return to index page 383
Return to index page 382
Return to index page 381
Return to index page 380
Return to index page 379
Return to index page 378
Return to index page 377
Return to index page 376
Return to index page 375