Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register
| 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
Reply
 
Thread Tools Search this Thread Display Modes
  #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?
Reply With Quote
  #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

Reply With Quote
Reply


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
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



All times are GMT -4. The time now is 03:47 PM.


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