Registering VFPOLEDB to use as linked server
From: Mark J. McGinty (mmcginty_at_spamfromyou.com)
Date: 03/05/04
- Next message: Vlad: "Re: DSN or DSNless connection?"
- Previous message: Tibor Karaszi: "Re: configuring sql 6.5"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Mar 2004 01:53:43 -0800
Greets,
I have a project that accesses heterogeneous data sources. After finding
limitations of the applicable ODBC driver, I found the latest OLE DB
provider for Visual FoxPro on MSDN. It works well if I connect directly to
VFP, however, I can't use VFPOLEDB.1 as the provider in a linked server.
After I installed VFPOLEDB it didn't even show up as an option when defining
a linked server. A little registry exploration showed me that the component
was registered under the current user, not the local machine. I then
re-registered the component by calling REGSVR32, which did cause it to
appear as an option, but it still does not work.
---------------------------
SQL Server Enterprise Manager
---------------------------
Error 7403: Could not locate registry entry for OLE DB provider 'VFPOLEDB'.
OLE DB error trace [Non-interface error: Provider not registered.].
---------------------------
OK
---------------------------
I set permissions for the vfpoledb.dll file to Everyone->Full to rule-out
security -- that ain't it (at least not at the NTFS level.)
I was able to use the OLE DB Provider for ODBC, with the "Microsoft Visual
FoxPro Driver" to create a linked server, tables and views are listed in EM,
but cannot use a 4=part name to query the data, apparently because that
driver doesn't understand the owner-qualifier segment of the name.
Also, using ODBC, though sp_tables_ex returns a correct list of tables,
sp_columns_ex returns an empty rowset, and
ADODB.Connection.OpenSchema(adSchemaColumns) returns an equally disparaging
error. (A connection opened on VFPOLEDB fully supports OpenSchema, so this
part is mostly a non-issue.)
So, if anyone has carnal knowledge of this stuff, your input will be
appreciated.
-Mark
- Next message: Vlad: "Re: DSN or DSNless connection?"
- Previous message: Tibor Karaszi: "Re: configuring sql 6.5"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|