Wrox Programmer Forums
| 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 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
  #1 (permalink)  
Old April 22nd, 2005, 07:44 AM
Registered User
 
Join Date: Apr 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Empty Text or blob field ODBC Drivers (0x8002009)

I'm using an ASP script that retrieves information from a TEXT field in my database and populates a web page. If there are no information in that field or Null, it gives me the error :

"Microsoft OLE DB Provider for ODBC Drivers (0x8002009)
Multiple-step OLE DB operation generated an error. " ect..

I have two system one that use the old version, which doesn't give me an error MYSQL 3.23.55 and the other version ie: 3.23.58 or 4.1.8 do give me this error.

I've seen a couple of comment on various forum about this problem, but I can't seem to find the real solution. One of the things that I have done to get around this, is to have a blank space " " inserted in that field in my database. This doesn't really solve the issue. Does anyone have the real solution to this problem?
  #2 (permalink)  
Old May 6th, 2005, 11:17 AM
Registered User
 
Join Date: May 2005
Location: , Kansas, .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Write an If statement... Open the database and pull in all fields
If pTextBox="" then
Response.write "there is no information at this time"
else If pTextBox<> "" then
Response.write pTextBox
EnfIf



Similar Threads
Thread Thread Starter Forum Replies Last Post
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
ODBC Drivers error '8007000e' rtr1900 Classic ASP Databases 15 October 25th, 2006 04:03 AM
ODBC Drivers error '80004005' sanju2006 Classic ASP Professional 3 August 31st, 2006 09:21 AM
ODBC Drivers error '80040e14' kucker6 Classic ASP Databases 2 June 1st, 2006 01:06 PM
ODBC Drivers error '80004005' caudy Classic ASP Databases 2 August 20th, 2004 02:20 AM





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