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 February 16th, 2005, 10:39 AM
Registered User
 
Join Date: Jan 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem Details

I believe that part of the problem I am having is a consequence of hte following process:
1) I am able to set up a new account.
2) I log out the account.
3) I go to log in again using the account details.
4) I manually go into database and check the new User details have been put into the database.
5) I try to log in and get a message "Login failed for [email protected]"

Note that I have swapped the Onit around as recommended already.

I think this is where it is happening - I believe it may be returning null:

PhilePrincipal newUser = PhilePrincipal.ValidateLogin( EmailAddress.Text, Password.Text );
            if (newUser == null)

Any suggestions on how I can check this? Note that I am a newbie with a few months experience - so keep it as simple as you can!

 
Old February 16th, 2005, 10:42 AM
Registered User
 
Join Date: Jan 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Apologies - I got confused and put this in the wrong place. I wont repost... this refers the problem with Cast.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Details View aekta ASP.NET 2.0 Professional 0 March 10th, 2007 11:46 PM
Problem with Details View and Multiple DataSources safin ASP.NET 2.0 Professional 1 April 23rd, 2006 01:41 PM
/proc details? jrichemont BOOK Beginning Linux Programming, 3rd Edition 1 April 13th, 2004 10:46 AM
Box in details sporkman43 Crystal Reports 0 January 15th, 2004 03:50 PM





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