Ask a Question related to ASP Database, Design and Development.
-
Noozer #1
Exception error querying Access database from ASP page... Memo field type?
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.
Noozer Guest
-
#38458 [Asn->Csd]: Fails to get values of fields following a MEMO type field in MS Access
ID: 38458 Updated by: wez@php.net Reported By: costas at meezon dot com -Status: Assigned +Status: ... -
#38458 [Com]: Fails to get values of fields following a MEMO type field in MS Access
ID: 38458 Comment by: johnc at inkjetinc dot com Reported By: costas at meezon dot com Status: Assigned Bug... -
Format Access memo field?
Hi all, Just trying to figure out how to format a returned MS Access memo field with Coldfusion. Nothing special. Just want it to retain returns... -
Memo Field with Access
Hopefully someone can help me with this. I have a memo field in Access, I type for example into the text box on the webpage: (ignore the >) *... -
MS Access Memo Field and ASP
I have a memo field in a MS Access table. The contents of the field may look like this: 1. This is number one 2. This is number 2 3. Skipping... -
Noozer #2
Re: Exception error querying Access database from ASP page...
"Noozer" <dont.spam@me.here> wrote in message
news:4REEc.915266$Pk3.429789@pd7tw1no...Oops... I goofed. I actually fixed the SQL statement I posted about by> 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
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.
Noozer Guest
-
Bob Barrows [MVP] #3
Re: Exception error querying Access database from ASP page... Memo field type?
Noozer wrote:
Are you using ODBC for your connection? If so, switch to the native OLEDB> 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.
Provider for Jet ([url]www.able-consulting.com/ado_conn.htm[/url])
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.
Bob Barrows [MVP] Guest
-
Bob Barrows [MVP] #4
Re: Exception error querying Access database from ASP page...
Noozer wrote:
Again, this is an issue with ODBC. It should not be an issue with OLEDB. If> "Noozer" <dont.spam@me.here> wrote in message
> news:4REEc.915266$Pk3.429789@pd7tw1no...>>> 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
> 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.
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.
Bob Barrows [MVP] Guest
-
Noozer #5
Re: Exception error querying Access database from ASP page... Memo field type?
> > Error Type:
> > (0x80020009)
> > Exception occurred.Thanks... Made the change and it's working fine.> Are you using ODBC for your connection? If so, switch to the native OLEDB
> Provider for Jet ([url]www.able-consulting.com/ado_conn.htm[/url])
Just wondering if OLEDB is the "preferred" method or just works better in
this case.
Noozer Guest
-
Bob Barrows [MVP] #6
Re: Exception error querying Access database from ASP page... Memo field type?
Noozer wrote:
Yes, it's the preferred method, not ony because it works better in this>>>> Error Type:
>>> (0x80020009)
>>> Exception occurred.>>> Are you using ODBC for your connection? If so, switch to the native
>> OLEDB Provider for Jet ([url]www.able-consulting.com/ado_conn.htm[/url])
> Thanks... Made the change and it's working fine.
>
> Just wondering if OLEDB is the "preferred" method or just works
> better in this case.
case, but also because it works better in a lot of other circumstances. See
here:
[url]http://msdn.microsoft.com/library/en-us/ado270/htm/ado_deprecated_components.asp[/url]
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.
Bob Barrows [MVP] Guest
-
Noozer #7
Re: Exception error querying Access database from ASP page... Memo field type?
> > Just wondering if OLEDB is the "preferred" method or just works
See> Yes, it's the preferred method, not ony because it works better in this> > better in this case.
> case, but also because it works better in a lot of other circumstances.[url]http://msdn.microsoft.com/library/en-us/ado270/htm/ado_deprecated_components.asp[/url]> here:
>
Muchly appreciated...
Thanks!
Noozer Guest



Reply With Quote

