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 1st, 2004, 02:04 PM
Authorized User
Join Date: Oct 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default login failure after first login.


i reached the point in the book where i can register a new user in the database.

Once i regesiter the user it returns him back to my login page where
in the Siteheader it displays the users First and Last name.

I can signout and login different user that are registered in my database. I t will display an error message if a user trys to login with an incorrect email or password. I can do this any number of times without any errors accurring.

The problem arises when i try to access the register.aspx again.

example: I'll signout the user that is currently logged on.Then i try to register a new user and i always get this error

SqlException: Login failed for user 'FRANK\IUSR_FRANK'.]
System.Data.SqlClient.ConnectionPool.GetConn ection(Boolean& isInTransaction)
System.Data.SqlClient.SqlConnectionPoolManag er.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
Wrox.WebModules.Data.DbObject.RunProcedure(S tring storedProcName, IDataParameter[] parameters, String tableName)
Wrox.WebModules.Accounts.Data.AccountsTool.G etStateList()
Wrox.WebModules.Accounts.Business.AccountsTo ol.GetStates()
Wrox.ThePhile.WebModules.Accounts.Web.new1.P age_Load(Object sender, EventArgs e)
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731

It seems if i go back and forth between my web pages i get the error mentioned above.

I can only access my register page if i don't do anything other than
press my register link button on my login page.

When i do get the error mentioned above i can only access my aspx pages if i do something my like move the curse on one of my .cs pages
and resafe eveything.

Any help will be appreciated

Similar Threads
Thread Thread Starter Forum Replies Last Post
Photo login failure pchee373 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 June 29th, 2007 02:25 PM
login failure yasminnnnn BOOK: ASP.NET Website Programming Problem-Design-Solution 2 February 27th, 2007 04:16 AM
How to determine login success or failure? kscase VB Databases Basics 1 January 22nd, 2007 02:31 PM
Login Failure Basia BOOK: ASP.NET Website Programming Problem-Design-Solution 6 November 1st, 2005 08:33 PM
Another Login failure Bo.B.B BOOK: Beginning VB.NET Databases 6 July 10th, 2005 04:02 AM

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