all groups > inetserver asp db > june 2004 >
You're in the

inetserver asp db

group:

Exception error querying Access database from ASP page... Memo field type?


Re: Exception error querying Access database from ASP page... Memo field type? Bob Barrows [MVP]
6/30/2004 4:12:05 PM
inetserver asp db:
[quoted text, click to view]

Are you using ODBC for your connection? If so, switch to the native OLEDB
Provider for Jet (www.able-consulting.com/ado_conn.htm)

Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: Exception error querying Access database from ASP page... Bob Barrows [MVP]
6/30/2004 4:13:38 PM
[quoted text, click to view]

Again, this is an issue with ODBC. It should not be an issue with OLEDB. If
it is, then you need to install the latest version of MDAC.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: Exception error querying Access database from ASP page... Memo field type? Bob Barrows [MVP]
6/30/2004 5:06:53 PM
[quoted text, click to view]
Yes, it's the preferred method, not ony because it works better in this
case, but also because it works better in a lot of other circumstances. See
here:
http://msdn.microsoft.com/library/en-us/ado270/htm/ado_deprecated_components.asp

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Exception error querying Access database from ASP page... Memo field type? Noozer
6/30/2004 7:51:28 PM
Hi!

Working with an MS Access database from an ASP webpage and I'm getting an
Exception error...

Error Type:
(0x80020009)
Exception occurred.
/Projects/App/Mypage.asp, line 184

The SQL statement looks like so...

strSQL = "SELECT Cat, MyNote FROM Notes WHERE KeyLink = " & SelKey
rsSet.Open strSQL, adoCon

Cat is a 10 character text field, MyNote is a Memo field (and I think the
memo field is causing the issue), KeyLink is a number, as is the variable
SelKey.

I can't update or change any of the components/software on the server.

Can someone explain why this is happening? I've found a few similar issues
through Google, but nothing really helpful.

Re: Exception error querying Access database from ASP page... Noozer
6/30/2004 8:03:24 PM

[quoted text, click to view]

Oops... I goofed. I actually fixed the SQL statement I posted about by
adding an extra field, and the error I pasted was located further down the
page...

The second error is now also corrected. I was referencing a single field,
but naming two tables.

It all looks related to querying a database and having a TEXT or MEMO field
as the first column.

Re: Exception error querying Access database from ASP page... Memo field type? Noozer
6/30/2004 9:00:02 PM
[quoted text, click to view]

Thanks... Made the change and it's working fine.

Just wondering if OLEDB is the "preferred" method or just works better in
this case.


Re: Exception error querying Access database from ASP page... Memo field type? Noozer
6/30/2004 11:56:50 PM
[quoted text, click to view]
http://msdn.microsoft.com/library/en-us/ado270/htm/ado_deprecated_components.asp

Muchly appreciated...

Thanks!


AddThis Social Bookmark Button