Hi Olaf 4 Dec
Let me make my situation clear:
OS is Windows Server 2008 R2 64 bit
SQL is SQL Server 2012 Express. The
64 bit version is installed
The VFPOLEDB.DLL is present after installation of VFP7 on the server.
I have not yet tried creating a DSN: will try today.
I tried the following in Management Studio ( Entered each line as a separate new query, and clicked Execute. Each command was executed successfully)
sp_configure 'show advanced options', 1;
sp_configure 'Ad Hoc Distributed Queries', 1;
EXEC master.dbo.sp_MSset_oledb_prop N'VFPOLEDB', N'AllowInProcess', 1
EXEC master.dbo.sp_MSset_oledb_prop N'VFPOLEDB' , N'DynamicParameters' , 1
select * into bnmtemp from openrowset('VFPOLEDB','d:\windows\sysvol\sysvol\bnm\prdpl\order\temp.dbf';'';'','select * from temp.dbf')
I now get the error "The 32 bit OLE DB provider "VFPOLEDB" cannot be linked in-process on a 64 bit SQL Server"
Does this now mean that SQL 2012 64 bit cannot access Foxpro Tables? I successfully imported from an Excel 2003 worksheet. The Excel application is 2007 32 bit.
Will the installation of the latest VFPOLEDB (for VFP9 make any difference? (it has to some people, but I am not sure if the 64 bit SQL situation was replicated)
Wish I could get a clear course: wonder if should install the 32 bit version of SQL 2012 Express also?
Also, are the commands executed 'Persistent'
Would be thrilled to get some help.
Mohan