Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases 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
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 27th, 2003, 07:30 AM
Registered User
 
Join Date: Oct 2003
Location: Shillong, Meghalaya, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Code from Book did not work!

I used the code on Page 81 of the book "ASP 3.0 Programmer's Reference" from Wrox and the procedure on pp 84-86 and tested my page for duplicate primary field entries. When I clicked the Save button on my page, instead of the customized page, I still get the following :-

Microsoft JET Database Engine error '80004005'

The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.

/hardware/_ScriptLibrary/Recordset.ASP, line 311


I used Visual Interdev 6 Enterprise and DTCs for my page. I have Windows 2000 Server & IIS.

What is wrong here?

Regards,

Mark
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
code clinic - Why wont example asp code work? jardbf Classic ASP Basics 3 April 27th, 2006 06:22 PM
I cannot get this code to work , from the book/dl titanvic BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 1 April 20th, 2005 12:33 AM
code does not work keithschm Beginning PHP 5 January 10th, 2005 09:52 AM
Code from Book did not work! mnongkhlaw Wrox Book Feedback 2 October 28th, 2003 12:34 AM



All times are GMT -4. The time now is 11:51 AM.


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