Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > BOOK: Beginning ASP.NET 1.1
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 1.1
This is the forum to discuss the Wrox book Beginning ASP.NET 1.1 with Visual C#.NET 2003 by Chris Ullman, John Kauffman, Chris Hart, Dave Sussman, Daniel Maharry; ISBN: 9780764557088
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old September 22nd, 2004, 01:12 PM
Registered User
Join Date: Jul 2004
Location: Surrey, BC, Canada.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sarah-WCHM
Default Ch. 17 -- Login & Authorization

For the Wrox United website, I've run into the below error when attempting to log in -- it seems to be a problem with login.aspx. Any help would be appreciated!


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.OleDb.OleDbException: No value given for one or more required parameters.

Source Error:

Line 55: dbConnection.Open();
Line 56: System.Data.IDataReader dataReader;
Line 57: dataReader = dbCommand.ExecuteReader(System.Data.CommandBehavio r.CloseConnection);
Line 58:
Line 59: return dataReader;

Source File: C:\BegASPNET11\WroxUnited\admin\login.aspx Line: 57

Stack Trace:

[OleDbException (0x80040e10): No value given for one or more required parameters.]
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextE rrorHandling(Int32 hr) +41
   System.Data.OleDb.OleDbCommand.ExecuteCommandTextF orSingleResult(tagDBPARAMS dbParams, Object& executeResult) +122
   System.Data.OleDb.OleDbCommand.ExecuteCommandText( Object& executeResult) +92
   System.Data.OleDb.OleDbCommand.ExecuteCommand(Comm andBehavior behavior, Object& executeResult) +65
   System.Data.OleDb.OleDbCommand.ExecuteReaderIntern al(CommandBehavior behavior, String method) +112
   System.Data.OleDb.OleDbCommand.ExecuteReader(Comma ndBehavior behavior) +69
   System.Data.OleDb.OleDbCommand.System.Data.IDbComm and.ExecuteReader(CommandBehavior behavior) +5
   ASP.login_aspx.Players() in C:\BegASPNET11\WroxUnited\admin\login.aspx:57
   ASP.login_aspx.LoginBtn_Click(Object Sender, EventArgs e) in C:\BegASPNET11\WroxUnited\admin\login.aspx:11
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +83
   System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1277

Reply With Quote
  #2 (permalink)  
Old September 22nd, 2004, 01:58 PM
jminatel's Avatar
Wrox Staff
Points: 17,869, Level: 58
Points: 17,869, Level: 58 Points: 17,869, Level: 58 Points: 17,869, Level: 58
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2003
Location: Indianapolis, IN, USA.
Posts: 1,934
Thanks: 63
Thanked 130 Times in 97 Posts


Are you using the VB version of the book? Then possibly the problem is that login.aspx is missing from the download? If you check and see that you don't actually have a login.aspx, you can get it from the C# book version download at:

then just modify it for VB. I'm working on getting the VB version verified and added to the download.

If this isn't the problem, please let us know.

Jim Minatel
Senior Acquisitions Editor
Wiley Technology Publishing
WROX Press
Jim's Book of the week: ASP.NET 2.0 Beta Preview
Reply With Quote
  #3 (permalink)  
Old September 22nd, 2004, 03:24 PM
Registered User
Join Date: Jul 2004
Location: Surrey, BC, Canada.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sarah-WCHM

I'm using the C# version of the book, unfortunately, so that isn't the problem. I'm wondering--is there a problem with the code itself? My code matches the downloaded code so could it be in one of the associated files?

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
login through jmeter authorization. labudug BOOK: Expert One-on-One J2EE Design and Development 3 November 16th, 2013 08:54 AM
error in ch 17 on running both fils no17 Beginning PHP 0 May 10th, 2008 02:15 AM
Ch 17 - Sender Object not working? deanC4 BOOK: Beginning ASP.NET 2.0 and Databases 1 April 18th, 2007 01:25 PM
IStateManager.TrackViewState() Ch 17 EdKroket BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 0 January 25th, 2007 06:10 AM
Ch. 17 & 19 Apache instead of IIS Kevin Tough VB.NET 2002/2003 Basics 0 October 3rd, 2005 01:29 AM

All times are GMT -4. The time now is 12:09 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.