Re: Forms authentication does not work......

From: Chetan Handa (asp_dot_net@hotmail.com)
Date: 12/28/02


From: "Chetan Handa" <asp_dot_net@hotmail.com>
Date: Sat, 28 Dec 2002 23:34:42 +0530


Yes,
     following is my web.config file, I hope we figure out something from
this......

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="connstr"
value="server=localhost;Trusted_Connection=true;database=northcopy" />
        <add key="trip_connection"
value="server=localhost;Trusted_Connection=true;database=trip"/>
    </appSettings>

    <system.web>
    <compilation defaultLanguage="vb" debug="true" />
    <customErrors mode="RemoteOnly" />
    <authentication mode="Forms" />
        <forms name="form" loginUrl="login.aspx" protection="All" path="/"
/>
    </authentication>
    <authorization>
        <deny users="?" />
    </authorization>
    <trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />
    <sessionState
    mode="InProc"
    stateConnectionString="tcpip=127.0.0.1:42424"
    sqlConnectionString="data source=127.0.0.1;user id=sa;password="
    cookieless="false"
    timeout="20"
/>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
   </system.web>
</configuration>

"Beth Breidenbach" <beth.breidenbach@getronics.com> wrote in message
news:#UO$$PfrCHA.432@TK2MSFTNGP10...
> Can you post your Authentication section?
>
>
> "asp_dot_net" <asp_dot_net@hotmail.com> wrote in message
> news:u4F6QicrCHA.1656@TK2MSFTNGP09...
> > Firstly, i like to say thanks for the quick reply....
> > Yes, I do have the forms within the authentication section of the
> > web.config file.
> >
> >
> > "Cowboy (Gregory A. Beamer)"
> <N0SpamMPleezEgbworld@comcast.netN0SpamMPleezE>
> > wrote in message news:OWMIv6brCHA.1808@TK2MSFTNGP09...
> > > Do you have forms inside the <Authentication> section? as in:
> > >
> > > <authentication mode="Forms">
> > > <forms name="trip" loginUrl="login.aspx" protection="All" path="/"
> />
> > > </authentication>
> > >
> > > --
> > > Gregory A. Beamer
> > > MVP; MCP: +I, SE, SD, DBA
> > > Author: ADO.NET and XML: ASP.NET on the Edge
> > >
> > >
> >
>
****************************************************************************
> > > ****
> > > Think outside the box!
> > >
> >
>
****************************************************************************
> > > ****
> > > "asp_dot_net" <asp_dot_net@hotmail.com> wrote in message
> > > news:#AorgkbrCHA.428@TK2MSFTNGP09...
> > > > I get the following error message in web config file when I use
forms
> > > > authentication.
> > > > I get this error whenI add this to the authentication section
> > > >
> > > > <forms name="trip" loginUrl="login.aspx" protection="All" path="/"
/>
> > > >
> > > > !!!!!!!!!!!!!!!!!!!!!!!!!!!!Error
> > > > message!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > > >
> > > > Unrecognized configuration section 'forms'
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Solaris Security Summary
    ... Administering Security on the Solaris OE ... Configuration control, facility management, and system ... Authentication: The ability to prove who you are. ...
    (comp.unix.solaris)
  • Re: POP3 Security & SMTP Authentication
    ... configuration of Exchange 2003 will require a userid/password to collect ... setup a second SMTP virtual server that only accepts Basic Authentication ... > 2) all clients send/receive external email using outlook via an external ...
    (microsoft.public.exchange2000.general)
  • Re: CUPS printer error for Canon BJC-250
    ... The configuration through gnome-cups-manager is finished, ... from the terminal window) I get erros like 'authentication ... failure' althought the root password is properly entered and the ... One of the nice things about GNU/Linux is that you do not need to reboot the PC after an installation or configuration change. ...
    (Debian-User)
  • Re: Basic Authentication fails with Error 401.2 where Integrated succe
    ... directory that is protected by Basic Authentication. ... The directory is configured in IIS with only Basic Authentication checked ... the integrated authentication box in the IIS security configuration, ...
    (microsoft.public.inetserver.iis.security)
  • very frustrated with DAAB asp.net 2v
    ... This section sets the authentication policies of the ... Set trace enabled="true" to enable application trace logging. ... belong to a particular session. ...
    (microsoft.public.vsnet.enterprise.tools)