Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ADO (MDAC) issue

Thread Tools

ADO (MDAC) issue

Posts: n/a
I have a problem lies with a meta tag. Below is my code:
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.5
Library" UUID="{00000205-0000-0010-8000-00AA006D2EA4}"
This is suppose to set a reference to a MDAC file which will hold many
constants. The error appears on the following line:
oComp.AddParam "@UserID", adVarChar, adParamInput, 100, msUserID
Error message.
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'adVarChar'

I actually narrowed it down to an ADO (MDAC) issue. What I did was
that I included the file which has all the constants
defined. Next, I ran the application. The error that I received
before went away but I encounter a error executing an ado command.
So, I tried to set the constants on the page and it help but not
entirely because I think this is a MDAC issue.

Can anyone help please?

Reply With Quote

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Translating Oracle Package Call from ADO to ADO.Net ASP .Net 0 02-14-2005 10:39 PM
Transfer ADO Code to ADO.NET ronaldlee ASP .Net 1 12-17-2004 04:08 PM
Accessing an ADO Recordset or Record from ADO.NET nita ASP .Net 1 11-20-2004 07:06 AM
ADO (MDAC) issue ivy ASP General 2 10-07-2003 09:24 PM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM