General information
Title:
Problem with VFPOLEDB.1 in SQL Server
SELECT a.* FROM OPENROWSET('VFPOLEDB.1', 'd:\data\mydbc.dbc';;, 'SELECT * FROM mytable where type ="CM"') AS a
returned this error:
Server: Msg 7302, Level 16, State 1, Line 1
Could not create an instance of OLE DB provider 'VFPOLEDB.1'.
OLE DB error trace [Non-interface error: CoCreate of DSO for VFPOLEDB.1 returned 0x80040154].
This works:
SELECT a.*
FROM OPENROWSET('MSDASQL' ,
'DRIVER={Microsoft Visual FoxPro Driver};
Exclusive=No;Collate=Machine;Deleted=Yes;Null=No;
SourceDB=d:\data\mydbc.dbc;SourceType=DBC',
'SELECT * FROM d:\data\mytable where type = "CM" ') AS a
Please explain error message
Thanks
Anthony
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only