Re: OpenSchema error
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 04:48:17 -0500
I think ekkehard spotted the problem I missed. try his solution.
Guy wrote:
Hi,
I've upgraded MDAC and Jet 4. It hasn't fixed the problem. I still
get the same error.
"Bob Barrows [MVP]" wrote:
Reinstall/upgrade MDAC 2.8
Reinstall/upgrade Jet 4.0
The installables can be found by searching microsoft.com.
Guy wrote:
Hi,
I'm trying to use the OpenSchema function using asp, vbscript, and
access 2000. Here is my code :
dim objConnection
Set objConnection = Server.CreateObject("ADODB.Connection")
dim rsGetProbs
objConnection.Open "data
source=C:\db.mdb;PROVIDER=Microsoft.Jet.OLEDB.4.0;"
Set rsGetProbs = objConnection.OpenSchema (adSchemaTables)
the last line gives me this error :
ADODB.Connection (0x800A0CB3)
Object or provider is not capable of performing requested operation.
/forum/EditTable.asp, line 48
I've tried a bunch of variations on the last line :
Set rsGetProbs =
objConnection.OpenSchema(adSchemaColumns,Array(Empty, Empty,
"User"))
Set rsGetProbs = objConnection.OpenSchema(adSchemaTables,
Array(Empty, Empty, Empty, "Table"))
These lines produce the same error. Can anyone tell me how to solve
this?
Thanks,
Guy
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so
I don't check it very often. If you must reply off-line, then remove
the "NO SPAM"
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- References:
- Re: OpenSchema error
- From: Bob Barrows [MVP]
- Re: OpenSchema error
- Prev by Date: Help Me - Script needed to change Home Folder to another Server
- Next by Date: Microsoft.DiskQuota.1 + Delphi (VBS to Delphi)
- Previous by thread: Re: OpenSchema error
- Next by thread: Re: OpenSchema error
- Index(es):
Relevant Pages
|
|