Re: .Net 2.0 Membership



Yes, there is information there:

Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1315
Date: 12/28/2005
Time: 8:25:16 AM
User: N/A
Computer: CPNETSERVER
Description:
Event code: 4006
Event message: Membership credential verification failed.
Event time: 12/28/2005 8:25:16 AM
Event time (UTC): 12/28/2005 1:25:16 PM
Event ID: 8eac5b0e60354111a2b07d6ba07c545e
Event sequence: 2
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: 30f9e9d4-3-127802498974531250
Trust level: Full
Application Virtual Path: /TireVanMgr
Application Path: C:\Documents and Settings\Daniel.CPNET\My
Documents\Visual Studio 2005\WebSites\TireVanMgr\
Machine name: CPNETSERVER

Process information:
Process ID: 2984
Process name: WebDev.WebServer.EXE
Account name: CPNET\Daniel

Request information:
Request URL:
http://localhost:2335/TireVanMgr/WebPages/Login.aspx?ReturnUrl=/TireVanMgr/Default.aspx
Request path: /TireVanMgr/WebPages/Login.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: CPNET\Daniel

Name to authenticate: Daniel

Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

However, I can't see anything in here telling me why it failed? I entered
the correct password.

Thanks,

- Daniel

"Dominick Baier [DevelopMentor]" wrote:

> hi,
>
> asp.net emits useful information to the event log - have a look there
>
> if this does not help - start an instance of sql profiler to see that you
> really hit the database.
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
> > How can I determine reason for the login error which is occuring?
> >
> > I see no status codes or anything available in the LoginError event.
> >
> > I have implemented the membership capabilities with some minor
> > modifications, the biggest being that I am using a different database
> > name from the standard one. I have created my users using the
> > ASP.Net Configuration tool which works fine. For some reason, I
> > always get a failure when logging in. I am sure I am entering in the
> > correct password, and I have deleted and re-added the user.
> >
> > If I call GetUser(login1.UserName), I successfully retreive the user,
> > why is the login failing? How can I find out?
> >
> > thanks for your help in advance.
> >
> > - Daniel
> >
>
>
>
.