"No such interface supported" error on Catalog.Create and Connection.Open
- From: "Preben Nyeng" <pny@xxxxxxxx>
- Date: Wed, 22 Mar 2006 16:17:36 +0100
Hi,
I have a problem with an app using ADO and ADOX to access MDB files using
JET 4.0
The app runs well on anything from Windows 95 to XP, but on very few
machines the app will fail with the error mentioned in the subject.
I have seen it about 5 times on W2K with MDAC2.5, in each case an update to
the latest MDAC solved the problem.
But now I am stuck with an XP SP2 (MDAC2.8), because no newer MDAC is
available, and therefore an update is impossible.
There are 2 cases of the error:
1. When trying to open an existing DB (named OldDB). The ADO Connection
object is initialized with:
.Provider = "Microsoft.Jet.OLEDB.4.0"
.Mode = adModeReadWrite
.Open("OldDB") fails.
2. When trying to create a new DB (named NewDB), using the ADOX Catalog
object:
.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=NewDB")
Any hints on how to solve the problem will be appreicated.
Thanks in advance,
Preben Nyeng
.
- Follow-Ups:
- Re: "No such interface supported" error on Catalog.Create and Connection.Open
- From: Richard Mueller
- Re: "No such interface supported" error on Catalog.Create and Connection.Open
- Prev by Date: Re: Best way to find ID of new record
- Next by Date: Re: Best way to find ID of new record
- Previous by thread: Re: Oracle stored procedure with table as input parameter?
- Next by thread: Re: "No such interface supported" error on Catalog.Create and Connection.Open
- Index(es):
Relevant Pages
|
|