Can anyone help me out with why the following code in web.config
<authentication mode="Forms" />
<forms loginUrl = "Secure/Login.aspx" />
</authentication
gives me the following error
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'
Thanks in advanceProblem solved - I must have bought the worst beginners book going! More
errata than you can shake a stick at and no errata available because wrox
ceased trading!!
"Andrew Banks" <banksy@.nojunkblueyonder.co.uk> wrote in message
news:KUiLb.10053$aP6.111676466@.news-text.cableinet.net...
> Can anyone help me out with why the following code in web.config
> <authentication mode="Forms" />
> <forms loginUrl = "Secure/Login.aspx" />
> </authentication>
> gives me the following error
> 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'
> Thanks in advance
You already closed the authentication tag. It should be
<authentication mode="Forms">
<forms loginUrl = "Secure/Login.aspx" />
</authentication
Tu-Thach
>--Original Message--
>Can anyone help me out with why the following code in
web.config
><authentication mode="Forms" />
> <forms loginUrl = "Secure/Login.aspx" />
></authentication>
>gives me the following error
>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'
>Thanks in advance
>
>.
Which book is it that you are using?
"Andrew Banks" <banksy@.nojunkblueyonder.co.uk> wrote in message
news:H9jLb.10066$R27.111986847@.news-text.cableinet.net...
> Problem solved - I must have bought the worst beginners book going! More
> errata than you can shake a stick at and no errata available because wrox
> ceased trading!!
>
> "Andrew Banks" <banksy@.nojunkblueyonder.co.uk> wrote in message
> news:KUiLb.10053$aP6.111676466@.news-text.cableinet.net...
> > Can anyone help me out with why the following code in web.config
> > <authentication mode="Forms" />
> > <forms loginUrl = "Secure/Login.aspx" />
> > </authentication>
> > gives me the following error
> > 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'
> > Thanks in advance
See http://tinyurl.com/3bkyd
"Drunken Coder" <merlot.steve@.stephendcarlton.com.wine> wrote in message
news:eMFcIpi1DHA.1752@.tk2msftngp13.phx.gbl...
> Which book is it that you are using?
> "Andrew Banks" <banksy@.nojunkblueyonder.co.uk> wrote in message
> news:H9jLb.10066$R27.111986847@.news-text.cableinet.net...
> > Problem solved - I must have bought the worst beginners book going! More
> > errata than you can shake a stick at and no errata available because
wrox
> > ceased trading!!
> > "Andrew Banks" <banksy@.nojunkblueyonder.co.uk> wrote in message
> > news:KUiLb.10053$aP6.111676466@.news-text.cableinet.net...
> > > Can anyone help me out with why the following code in web.config
> > > > <authentication mode="Forms" />
> > > <forms loginUrl = "Secure/Login.aspx" />
> > > </authentication>
> > > > gives me the following error
> > > > 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'
> > > > Thanks in advance
> >
0 comments:
Post a Comment